Search results for query: *

  1. B

    Task Schedular can't start a compiled exe file

    Hello all, I've developed a Console Application that retrieves the list of unread messages for downloading their attachments into the file system.. it works fine when the exe is double clicked. This application needed to run every day, so I created a scheduled task, but when it runs...
  2. B

    Active Control

    Hello All, In ymy application, aI need to know the currnet selected control i.e. there's 5 textBoxes, how can I know which textBox has the cursor in.??? Regards, Baha A. Ghanim
  3. B

    Caching

    Here is how I do it, For i As Integer = 0 To Me.cacheObj.cacheLengh - 1 If Me.cacheObj.patientsNames(i).ToUpper Like Me.TextBox9.Text.ToUpper & "*" Then ' do something here End If Next
  4. B

    Caching

    I solved this problem by using the keyword like. Regards,
  5. B

    Caching

    Hello all, I need to do caching with my application i.e. I have a textBox text changed event, each time the user enters a character, a connection to the sql server is done. Instead of connecting to the sql server each time the user search an employee name, I stored the data of employee...
  6. B

    Form Size

    Hi All, Im developing my application using a monitor 19", when I ran my application on another machine with monitor for example 17", form layout will be changed i.e. some part of the form is not displayed. How can I make my application robust enough to overcome this problem? Regards...
  7. B

    Thread Problem

    Thank you all, I solved the problem by raising an event when the thread finishes its work, and there was an event handler for this event i.e. it take the responsibilty of creating an instance of the report viewer form. Regards, Baha
  8. B

    Crystal Reports Problem

    Hello All, I have created crystal reports in my application, through the add/remove databases, then making a new connectiobn (Oledb) to the SQL server and selecting certain table or certain stored procedure.. every thing worked correctly, but the problem which Im seeing now is what will...
  9. B

    Thread Problem

    Hello All, I have a thread in my application that tries to load a form and display it, but my problem is that the form appears for a some seconds then disappears. I think this is because of the thread is being killed, right? How can I fix this problem Dim loadThread As New...
  10. B

    Changing ComboBox ForeColor when it becomes disabled

    Hello All, I need to change the look of a comboBox when it becomes disabled (changing its ForeColor from shaded to be for example black) How can I do this? Regards, Baha
  11. B

    User defined Control Problem

    I've solced the problem, it seems that I should include the project name before calling the instance i.e. dim txtBox as numaricTextBox.numaricTextBox but why it should be declared as thateven I have my own DLL file
  12. B

    User defined Control Problem

    it's a DLL file i.e. after I create my own control that inherits textBox (Windows Control Library Project), I compiled the project. Then in my application I referenced that DLL file through Project menue --> Add reference After that I dded this control to the ToolBox. in the form design, I...
  13. B

    User defined Control Problem

    Hello All, I've created a control that inherits TextBox, and it's working correctly i.e. I can put an instance of it on the form design, and every thing is working as I need at run time. But there's a problem with it, that I can't declare an instance of it through the code (to create a...
  14. B

    DataGrid with buttons in it

    I need to do another thing with dataGrid control, How can I handle the selected row changed event? Regards, Baha
  15. B

    DataGrid with buttons in it

    It seems a useful link, but the problem with me is that Im not familiar with c# :( Regards, Baha
  16. B

    Insert into with the key word returning ??

    Any help will be Appreciated .... Regards, Baha
  17. B

    DataGrid with buttons in it

    Hello All, I need to include in my dataGrid cells buttons i.e. I need a column in the dataGrid that has in each cell belongs to it a button that handle an event based on the current selected index of the dataGrid. Could it be done with vb.net 2003 and how? Any help will be appretiated...
  18. B

    Tab control backColor ??

    Thank you for your help, Regards, Baha
  19. B

    Tab control backColor ??

    I need to change the backColor of the tab Control it self, not the tab page headers. Kindly look at attached image Can you please advice me ... Regards, Baha
  20. B

    Tab control backColor ??

    Hello All, I need to change the backColor of the tab control (not the the tab page), but this control doesn't have the backColor property... what should I do to overcome this problem? Regards, Baha
Back
Top