Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. shifar

    Auto Delete Public Static Declaration

    If you declared the static, object modifications will restrictedselect approoriate modifications that are go along with static..
  2. shifar

    'ClassName' is ambiguous in NameSpace 'MyNameSpace'

    check the outline of namespace i.e. { }
  3. shifar

    Fonts in listboxes message box

    It is looks like that you are trying to display outcome of code in a messgae box and a list box.May be some thing is missing in the code so that the your outcome(output) is null or something. Post the code here so others can see the problem.
  4. shifar

    How Can I Store an Object in SQL Server?

    // create a byte[] for the image file that is uploaded int imagelen = Upload.PostedFile.ContentLength; byte[] picbyte = new byte[imagelen]; Upload.PostedFile.InputStream.Read (picbyte, 0, imagelen); // Insert the image and image id into the database SqlConnection conn = new SqlConnection // ("...
  5. shifar

    Abstract Static Functions

    Hope this will help you: Abstract method declaration provides no actual implementation, there is no method body; the method declaration simply ends with a semicolon and there are no braces ({ }) following the signature. For example: public abstract void MyMethod(); The implementation is...
  6. shifar

    Can I change the colors of the controls in style XP?

    to change a color of control: public class NewClButton : Button { protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); int borderWidth = 2; //change the width Color borderColor = Color.Blue; ControlPaint.DrawBorder(e.Graphics...
  7. shifar

    Getting data out of a data set

    Since he use only one customer (ID 111) can't he use a datareader to read the single record. I think this is more efficent (unless he is doing any update or delete etc.)
  8. shifar

    beginner problems

    But i get result (6 + 3 = 63),anyone help?? you declared se1 and se as string. so string conc. as 63.
  9. shifar

    How do I make a parent form minimize with its modal child?

    Try this: Form1 form = new Form1(); form.Owner = this; form.Show();
  10. shifar

    easy question ?

    put the code in private void Form1_Load(object sender, System.EventArgs e) { }
  11. shifar

    bound objects and datarow.addnew

    Your are welcome..
  12. shifar

    bound objects and datarow.addnew

    Are you trying to add a new row for the DataTable from a control( say TextBox) and the user should enter the new data to the control before it update the new row.? If this is the case- Clear the the text fileds in the TextBoxs(control) make sure the TextBox is not null before update it...
  13. shifar

    How To Find Out If Mouse Is Being Help Down

    What about Mousedown event?
  14. shifar

    Get Root Directory

    I belive your are refering : C:\Inetpub\wwwroot ( may some other drive) Regards.
  15. shifar

    Problem Deploying Application Using CR Viewer in VB 6

    I had similer problem but I resolved with correcting the data connectivity with CR. I found with ADO connection Admin....
  16. shifar

    MSDE installation rollsbabk?!?!

    I had same problem. Enabled the file and printer sharing for microsoft Network solved the problem. Could help for you too.?
  17. shifar

    copying .mdf and .ldf from msde

    Hi I need to supply .mdf and .ldf file from msde database with my pacakage so that it can be attached to msde in target computer. my question is how can I create .mdf and .ldf file from my msde database where I have tabe and other stuff. I tried to copy.physically, from C:\Program...
  18. shifar

    Printing mutiple filed with different size

    I have different size fields in a table(image and text). I need to optimize the printed reports according to size of the field. Say I print the image it takes more than half of page and since I connected the rpeort on design time no matter I select the image or not report allocate the space...
  19. shifar

    sql error -saying syntex error near low'.

    Thank you Zhavic: I use the following method and it worked. Dim cmd As New SqlCommand("INSERT INTO tablename VALUES (@field1)", conn) cmd.Parameters.Add(New SqlParameter("@field1", textbox1.text) many thanks.
  20. shifar

    Ado .net syntex error near '

    Thanks rosenk: It works many thanks..........

Part and Inventory Search

Back
Top