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 Mike Lewis 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. gplusplus

    XML Serializer and Deserialize

    I have wrote a program that can serialize and deserialize from xml to a class obj and vice versa. It works most of the time but every once in a while it bombs out giving me an exception that is "TypeLoadException" on this line... XmlSerializer xml_serializer = new...
  2. gplusplus

    Remote SQL

    I am using SQL 2k5 and im trying to connect to my sql db on my site that is hosted by bluehost.com.... I have verifired my sql settings on the server with the bluehost tech support and they are all set correctly.
  3. gplusplus

    Remote SQL

    I tried your connection string but i get the same error. Any other ideas of what i am doing wrong ? BTW: my_user_id and my_pwd are just place holders so i dont give my login away for free ;) Thanks again!
  4. gplusplus

    Remote SQL

    Basically all i want to do it connect remotely to a SQL server on my personal webpage that is hosted by bluehost.com I have added a sql db on the site with a user name and password. I have also added my IP to the white list and access host list for sql in cpanel. Then I wrote a very small app...
  5. gplusplus

    SerialPort

    I have a serial port connection... The serial port has the data received event registered with it. I have an array of data. This data is to be written to a serial port. When the user hits the start button a new thread is created and this loops through each index of the array and on each...
  6. gplusplus

    Deploying XML files with Application

    Im not totally sure at work i have full version so i cant check now but if it does it would prolly be in Other project types.... i could check when i get home.
  7. gplusplus

    Deploying XML files with Application

    Click one deploy is nice but in the final product are you actually going to use that ? I would recommend just adding a setup project to your current solution. The setup project has a file system in it, you can view it by right clicking go to View and then File System. You can add you project...
  8. gplusplus

    ComboBox - Loop Through Displayed Values

    Cast the current item object at index i to the Business Object and then you can access the ItemCode property for that Business Object. for(int i = 0; i < this.comboBox.Items.Count; i++) { MessageBox.Show(((Business)(this.comboBox.Items[i])).ItemCode.ToString()); } Thanks. gpp
  9. gplusplus

    Create Exe and appropriate folders!?

    So then use System.IO to do so on load of the main form string file_name = @"thisTestFile.txt"; string source_path = @"c:\"; string destination_path = @"C:\Documents and Settings\Laptop\My Documents\Visual Studio 2005\Projects\MyProject\MyProject\bin\Debug\"; void form_Load(object sender...
  10. gplusplus

    How to load .doc,.,pdf files

    JurkMonkey Process.Start(arg1, arg2) can take in two arguments, the exe and the arguments for the exe. I know because Ive used it like that many times.
  11. gplusplus

    Create Exe and appropriate folders!?

    Make a Setup Project that will install the EXE and all the supporting folders and files that are needed. You can specify every thing in the File System of the Setup file project. To view the file system, right click on the SETUP Project in the project view and choose file system. This is where...
  12. gplusplus

    How to load .doc,.,pdf files

    Like JurkMoney said use a Process to start it like this. WINWORD.exe takes an argument of the path to the desired file as suggests here near the bottom of this article: http://support.microsoft.com/kb/210565 So to open just pass the path as an argument into the process...
  13. gplusplus

    Save byte[] as assembly?

    This is how i would go about it. try { request = (HttpWebRequest)WebRequest.Create(uri); request.Timeout = 10000; request.AllowWriteStreamBuffering = false; response = (HttpWebResponse)request.GetResponse()...
  14. gplusplus

    refreshing the parent form when the child form closes (windowsapp)

    I would assume the pull down menu options are added at runtime initially. So I would also assume you have a function that reads the xml to retrieve these items and then adds each to the pull down menu collection list. So when the window is closed how about removing all the items from the pull...
  15. gplusplus

    Slow Repaint

    Unfortunately Compact Framework does not have a Double Buffer Property or the SetStyle() Method. Any other ideas ?
  16. gplusplus

    A Question About Threading...

    Yes you need to set up a thread. You can use the background worker, but my preference is using System.Threading. Its farely simple to setup just make sure your function calls are thread safe, i.e. using BeginInvoke() and setting up delegate methods.
  17. gplusplus

    Slow Repaint

    Anyone know why a form repaints so slow when scrolling ? I just have a panel and some basic controls on it. And when i scroll the screen is repaints but its slow. I am building a smart device application so if theres any suggestions i would appreciate it even on some of the pc apps i have made...
  18. gplusplus

    Double Buffer Compact Framework

    I have a windows mobile form that contains textboxs, panels, checkboxes etc. When i scroll the form flickers. I know that you can use setstyle in pc apps but this is not available in compact framework. Anyone know how to double buffer an entire form so it doesnt flicker when scrolling on .net...
  19. gplusplus

    Redistribute Framework

    I have figured out the solution. All I needed to do was included to respective .net compact framework cabs into my msi project. And then write another ini file. Then in the custom installer i would register both ini files with the ceAppMgr. After registering I would would wait until that...

Part and Inventory Search

Back
Top