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 SkipVought 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. VBMental

    White Space in a dataset

    I have a dataset that has 2 string columns called 'Find' and 'Replace'. I use the WriteXML method to save the XML to disk. The problem is that if the user inputs a single space in Find or Replace, it will not save it in the data file. When the dataset is read back, the value is empty/null.
  2. VBMental

    Cannot debug a sql stored procedure

    Situation: VB.NET (Professional Edition) MSDE Service Pack 3 I can step into a stored procedure, but when I set a breakpoint and run the app calling the procedure. It doesn't hit the breakpoint. As a matter of fact, the breakpoint turns into a red circle with a question mark inside, and the...
  3. VBMental

    How to centre one form on another?

    I had the same problem, I hope MS fixes that bug.
  4. VBMental

    Copying objects to the CLIPBOARD

    I posted before to no avail, but here goes: Suppose I want to copy an object (an instance of my class, or of a listbox's items, or anything else other than text or images) to the clipboard. Documentation says that it's possible but it for me it seems I can never retrieve it. Here's code...
  5. VBMental

    Let me first say that I used to lov

    Let me first say that I used to love VB. With that said, let me say that I kind of dislike .NET. Firstly I hate the fact that you have to deploy the whole .NET framework. I think it's way too much overhead, and YES I understand that it has a lot of useful objects but undoubtedly it slows down...
  6. VBMental

    DataAdapter doesn't update.

    Do you have ContinueUpdateOnError property set to true for the data-adapters? If you do, set it to false and try to catch the error.
  7. VBMental

    What is a concurrency violation.

    I think the concurrency violation means that the records are currently being updated already or that they have an exclusive lock on them. One time I found that while connecting to an Access database on a Win2000 local machine; that this error was given falsely. After I compacted and repaired the...
  8. VBMental

    Intellisense in VB.NET

    I've been trying to migrate to VB.NET for the last 6 months. Quick question to microsoft (or if anyone can answer this.) QUESTION: --------------- Why isn't Intellisense enabled inside of the command window? --------------- It would've made debugging so much easier, especially considering all...
  9. VBMental

    Data Source Names (DSNs) on 2000, VS6

    Ok, I located the control panel file 'odbccp32.cpl' and created the DSN. It worked but I wonder why this wasn't in my control panel to begin with, and I still wonder how come the option to 'Add UserConnection' or 'Add DataEnvironment' disappeared from my VB project explorer menu.
  10. VBMental

    Data Source Names (DSNs) on 2000, VS6

    Can someone tell me the proper way to add DSN on Visual Basic 6? I'm using Windows 2000. In my applicaton, I use an ADODC and in the connection string, I ofcourse put the location of the DSN that I created using Add User Connection, however 'Add User Connection' doesn't even come up as an...
  11. VBMental

    ADO Hierarchical Recordsets

    When using the SHAPE provider, are you allowed to use LIKE operator in thee WHERE segment of the SQL phrase? Example: SHAPE {SELECT * FROM tblCustomers WHERE fName LIKE '*ackson*'} When I use the LIKE expression, the recordset seems to return all or no records as if the LIKE expression...
  12. VBMental

    Problems updating a RecordSet!

    Agreeing slightly with the last post, I think the issue is your SELECT statement. Perhaps the case of the letters in the combo-box doesn't match the case of the field in the database. You could try changing the select statement "Landlord_Name=" to "Landlord_Name LIKE" so that...
  13. VBMental

    Passing a User-Defined Type to a class's method

    I have a class that uses a UDT (user-defined type) defined in a .bas module. I would like to pass a variable of this type to the class's function but every variation of this that I try results in an error message similar to 'Only public user-defined types defined in public object modules can be...
  14. VBMental

    Inet Control crashing

    Using the inet control to retrieve webpages with vb6 on windows 2000. Sometimes, when the net is congested, the control times out. When my program continues and attemps to initiate another 'GetPage' method on the Inet control, my program crashes with some type of illegal access error. Thanks in...

Part and Inventory Search

Back
Top