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: *

  • Users: dwunz
  • Order by date
  1. dwunz

    File IO errors in compact framework

    Please help!! I'm writing an app for a PocketPC device and am having trouble with file permissions. I can create a file and write to it...no problem. But, when I close the app and restart, I can only read from the file...I can't delete it, or append to it. Can anyone tell me what I'm missing...
  2. dwunz

    .config files in compact framework

    I looked at that option...I was hoping there might be something similar to the INI files and getprivateprofilestring function of the earlier versions of VB. I suppose I could use the method you suggested, or stick to the INI file format and parse it into a collection if there aren't any new...
  3. dwunz

    .config files in compact framework

    I'm developing an application for a Pocket PC Handheld computer. I would like to include path settings and such in a .config file...however, System.Configuration.ConfigurationSettings.AppSettings is not available. Has anyone done something like this? Any hints will be appreciated!! don:-)
  4. dwunz

    What groups are the user assigned to?

    In VB6, I had a few API calls that authenticated a user's password and provided a list of the groups the user belonged to. In .NET, I get a bunch of errors about StrPtr, As Any, and a few other API parameter errors. Does anyone know what .NET options exist for validating a user/password and...
  5. dwunz

    CR Input Parameters on Web app

    I have a report that queries the user for input before displaying the data and it works fine when called from CRViewer in a VB app. Question is, how do I get this to work in a web-based app?
  6. dwunz

    CR Viewer hangs

    I have a report that runs fine on 4 out of 5 machines; and the report file is on a server in a shared folder, so all are using the same file. However, my VB6 program, using CR 8.5, hangs on this one machine...it's like it gets the data, then the viewer is waiting for an EOF but not getting it...
  7. dwunz

    Lost Mouse

    A search of the MSKB (Article 257703) shows this to be a problem with the Listview control prior to SP5, but no workarounds and it claims to have been fixed is SP5. Any ideas anybody?
  8. dwunz

    Can't control mouse events...HELP!

    I'm losing control of the mouse in VB6. I have an app with pic boxes and ActiveX objects...frequently (but not always), when I click on a pic or AX obj that opens another form (modal or nonmodal) and try to click on something anywhere on the screen, the original pic or AX obj I clicked on still...
  9. dwunz

    help with run-time error

    Looks like it should have been MsgBox ADOerr.Item(i).Description
  10. dwunz

    Lost Mouse

    I'm losing control of the mouse in VB6. I have an app with pic boxes and ActiveX objects...frequently (but not always), when I click on a pic or AX obj that opens another form (modal or nonmodal) and try to click on something anywhere on the screen, the original pic or AX obj I clicked on still...
  11. dwunz

    Object property values from within object?

    Each component placed on a VB form gets a unique name and values for Top, Left, Width, Height, etc. How do I access those from within the activeX component? I need this to pass as a parameter to a database function.
  12. dwunz

    combos and listboxes

    To put the null string in as the first entry, just listsamename.AddItem "", 0 You can do this at any time...when you start building the list, or later after you've already built it. The 0 tells AddItem to make this the first entry in the list, it will insert it before the current list...
  13. dwunz

    combos and listboxes

    make sure you have a null string ("") as the first entry in the list box and set the listindex=0. For the combo box, just set text to "" List1.AddItem "", 0 Combo1.Text = "" List1.ListIndex = 0 Also make sure the "style" property is 0 for the...
  14. dwunz

    combos and listboxes

    The clear method clears the lists... frmmain1.cbocusno.clear frmmain1.listsamename.clear hope this helps.
  15. dwunz

    Copy picture box to status bar???

    I'm using VB6 and need to take the contents of a picture box (text and text boxes) and insert it into the picture property of a Status Bar panel. Can't save the picture property of the picture box since no picture is loaded...just text and text boxes. Any help would be appreciated!!!
  16. dwunz

    Loss of SQL Server Services

    I having a random problem with SQL Server 2000. The services stop responding and the only indication I get is when I try to access the data base via ODBC and get the following error: -2147467259-[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]General network error. Check your network...
  17. dwunz

    Distinct records within subreport???

    I forgot to add...this subreport also uses 2 parameters from the main report to use a start and end time as part of the selection.
  18. dwunz

    Distinct records within subreport???

    I have a collection of 3 reports...a primary and 2 subreports. In one of the subreports, I need to get distinct rows based on 2 of 3 fields (field 1 is a time stamp, and fields 2 and 3 are the fields that define distinctness)...field 2 is a substring (pos. 10 thru 29) of a 100 character field...
  19. dwunz

    Need to clear OS Disk Cache?

    Ok...that doesn't answer why we're getting this peculiar result with the system, but using SetFileTime should let us get around the problem we are having. Don't know how we missed that (I looked...really I did...). Thank you. Hopefully, this thread is dead.
  20. dwunz

    Formatting time milliseconds and nanoseconds

    For true 1 ms accuracy, look for the high performance timer on http://www.mvps.org/ccrp/ Better than that will require a clock board.

Part and Inventory Search

Back
Top