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. mvanrijn

    How do I get Pb multithreading?

    Hi everyone, I've been asked to have a look at a system which needs its windows changed to use multithreading. At the moment there is a window which is run by the users and they might as well run it and go for a cup of coffee. It locks up the whole application. It would be good if we could get...
  2. mvanrijn

    How to update a DataWindow in PowerBuilder

    Hi, Set the update rows properties on datawindow. Allow Updates. Use key. Select all of the updateable columns. Select the key. Select use update. and make the table name a Junk name like"Junk". In the sqlpreview event. Add the code to get all the values from your data window. and either...
  3. mvanrijn

    Utility to generate SQL from PowerBuilder Dw

    It's probably more worth while re-writting one myself. Pb3.0 is a bit long ago. I'm capable of writting one I was just trying to save myself some time. Thanks MJ
  4. mvanrijn

    How to update stored procedures?

    How to update a DataWindow which is created using stored procedure? Open the datawindow in PowerBuilder in the Data Preveiw like pane Right click to Edit the stored procedure. Also, what is the Fat client and Thin client in Client Server architecture? I suggest you look up 2 tier achitecture...
  5. mvanrijn

    Datastore filters

    Hi, I wouldn't have thought that filters would be a problem as all the data is loaded into memory. It would more likely be the fact that you are loading so much data into the memory of the client. Best thing to do is collect timing information on the retrieve. Isolate which retreives are...
  6. mvanrijn

    Utility to generate SQL from PowerBuilder Dw

    Hi, I was once working on a site where we had a utility to select data using a select statement or a datawindow and it would retieve the data from the database. Then we could select the data we were interested in and it would generate the insert, update or delete statements for us. It was...
  7. mvanrijn

    Programmatically adding TabPage Contents into DataGrid from XML File

    Hi Anne, I've had a quick look at your code, I can see that you are creating the tabpage and then creating the abcPage for the tab page. However within the InitializeComponent of abcPage, there is use of pannel. this.panel1 = new System.Windows.Forms.Panel(); I would have thought that...
  8. mvanrijn

    Trouble Querying Excel File with C#

    Hi Matt, Are the column names within your new table, the values from the first row of data that you are missing? I've not used OleDbDataAdapter but I have seen this behaviour in MS Access when loading data into a new table. I would try defining the columns of the new table before filling it...
  9. mvanrijn

    How Do I connect to different databases seamlessly using ADO .NET

    Hi, I'm writing an application which reads a file, and inserts records into either a SQL server database or a MySQL database. The table structures are the same in each database. My first thought was to use ODBC to connect to the different databases. But one further reading it looks like...
  10. mvanrijn

    RichTextBox Formatting tab stops.

    OK I've figured out what was wrong Basically if there are no tabstops in the RichText Box you need to initialise SelectionTabs. Otherwise you get an array out of bounds error. ie going back to my code rtext.SelectionTabs = new int[3]; rtext.SelectionTabs = tabstops; The 3 is the number of...
  11. mvanrijn

    RichTextBox Formatting tab stops.

    Hi, How do I set the 3 tab stop positions within a RichTextBox? I've been formatting text with a richtextbox control on a windows form. I have the basic format working, fonts, alignment ect... But I have been trying to add tab stops to the formatting. How do I do this. The tabs are...
  12. mvanrijn

    Error Handling

    I have been looking for a "print screen" function, and this is come in really handy. Thanks MJ
  13. mvanrijn

    Why C++ ???

    Hi Sanjay, I think that C++ allows you to structure your program better. It allows the data and functions within the same code {class}. In C the data is created in a structure and you may or maynot create a file to contain the related functions. When you are looking at the code in c++ your...
  14. mvanrijn

    Getting file line

    I would have a look at CStdioFile. The ReadString function. I haven't used it myself but I ususally use CFile and read char by char until the end-of-line marker. Hope this is helpful MJ
  15. mvanrijn

    Need to know how to comine files

    Hi J, I would setup your menu loop, I'm not sure how advanced this needs to be. Typing 1,2,3,4 sounds like 101 programming: The best I can do is give you a couple of hints to get you going. Use: cin - to get the input from the user, while - loop with a exit clause switch - to run the...
  16. mvanrijn

    Small Icon is Wrong

    Thanks Guys, It was a icon size problem. I found the offending icon under the Right mouse menu withing the icon editor. [Current icon types]. There were two icon types. One was the stardard MFC imprint. [32x32 16 colour] [32x32 256 colour] Cheers Mary
  17. mvanrijn

    Small Icon is Wrong

    I am also having problems with changing the default icons windows icons. Did you figure out what the problem was? Like yourself I have changed the bit maps with my own art work but they are still showing on the title bar as being the default icon.
  18. mvanrijn

    Registry editing...

    I'm really just getting started with MS C++ 6.0. Here is an example of how I populated the registry with a string value. It's fairly simlar with an int value. I still cannot work out how to store a datetime? I am thinking of resorting to converting the datetime to int or strings then storing...
  19. mvanrijn

    Using Date Time Picker control,Editing, Date and Time

    I'm trying to use the Date and Time Picker Conrol in Visual C++. I am displaying and editing a combination Date Time field. I have set the format using CString formatStr = _T("dd MM yyyy hh ':' mm"); start_datetime_control.SetFormat(formatStr); The properties to on the control are...

Part and Inventory Search

Back
Top