Answer Questions
bmilliron IErrorInfo.GetDescription failed with E_FAIL(0x80004005)- What does this error means?
Does anyone have a clue what does this error means IError Info.GetDescription failed with E_Fail(0x80004005) I am getting this error while using ExecuteScalar method of OleDbCommand Object to execute a nested query against access 2003 database. This error occurs when you use keyword as your table name or field name. For instance Date, Close, Catalog etc are keywords. In order to over come the error, put square brackets around f ...Show All
cipher2079 ERROR The data provider or Service Provider returned an state E_FAIL
Hello I have a Problem, I installed Microsoft Visual Basic 6 and in Some ocations using adodc or an Recordset Object in the RecordCount an other methods VB return the next error : ERROR The data provider or Service Provider returned an state E_FAIL Please HELP ME !!! Which database provider are you using and do both machines have the same version of MDAC installed on them ...Show All
Steve Allen textbox cursors (caret)
hi all . i try this code using vb6 : api's : Private Declare Function CreateCaret Lib "user32" (ByVal hwnd As Long, ByVal hBitmap As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long Private Declare Function ShowCaret Lib "user32" (ByVal hwnd As Long) As Long code : dim hpic as long hpic = picture1.picture CreateCaret (Text1.hwnd, hpic, 3, 1) ShowCaret (Text1.hwnd) this code for changin ...Show All
amorgan VB Refactoring in VS.2003
Is there any way to install this in VB.NET 2003 I've heard that the beta was fully functional in VS2003. Is ther any trick to fool the installer Do you know any FREE or Open source alternative We (Developer Express) have 2 refactoring products, Refactor! for Visual Basic .NET 2005, and Refactor! Pro for Visual Studio. Both were announced on the 21st. Re ...Show All
Jaime de la Mancha Why does my form close after the form.show
In my program I want to open my form from the SUB Main. I am trying to use the form.show() method but the form opens for a split second then closes. What am I doing incorrectly Or: Dim S As String="12.34" Dim D As Double=Double.Parse(S) Do you have a Application.Run() line in Main sub after form.show() If not, add one or better do something like Application.Run(form) ...Show All
Thunderbyrd How to Make Text From ListBox Select "Append" in RichTextBox
I've set up a list box. I select an item (limited to one). The text displays in the RichTextBox control. I've done it simply: RichTextBox1.Text = ListBox2.Text But each new list box selection replaces the text in the RichTextBox. I want each selection I make to add to what is in there. I would also like to include the text from the listbox's label above that text, bold, so I know what value in the final report I am looking at. how do I ...Show All
Manish Mishra Keyboard malfunction in Code Window
Okay, I'm slightly frazzled. The 'special keys' (return, tab, alt, ctl) don't work in the code window. They work fine in the properties window. Makes it real hard to insert a new line of code. Already tried another keyboard, same symptoms. WinXP - current acording to Windows Update. AMD 2800 with 1GB RAM Fresh version of VB Express (downloaded 11/18/05) This is the *only* place where this keyboard seems to malfunction - what a ...Show All
Mackz VB application for Zipping/Unzipping Folder
Can any one provide me .dll's or Function/Code which I can use to Zip or Unzip a folder in WinZip format (Visual Basic Code). Hi, There is a free open source library for zip. http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx Regards, Vikram Hi, Since C#, VB and J# could interoperate. Why not try using the J# dll's for zipping files. http://msdn.microsoft.com/msdnmag/issues/03/06/zipcompression/default.aspx ...Show All
velmurugan B Rebuild Failed - 0 errors many warnings.
Shouldn't there be someway to determine which error is causing the build to fail. Most of my warnings are Performance, Globilization and interoperability errors. It does give me an option to run the latest build that worked which appears to be the build that the IDE is telling me is failing. How do I know which error is causing it to fail. When I first brought it over from VB6 it gave me errors b ...Show All
Sergey Romanov Visual Basic Compiler Error Hotfix
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to res ...Show All
Wojo DirectCast Vs CType
Can anyone explain to me that when can I use DirectCast vs CType I know msdn documentation mention something regarding inheritance that there must a inheritance relationship between objects that are being casted when using DirectCast One other thing I should have mentioned: DirectCast only operates on reference types, not value types. David Anton www.tangiblesoftwaresolutions.com Instant C#: VB ...Show All
niceguysfinishlast Detect and STOP shutdown in a VB.net 2003 Process
Howdy folks, I believe I may have found the one thing that’s impossible to program (without "cheating"). I'm using VB.NET 2003, on a winXP Pro machine. Here's what I'm trying to do: Using a service without a GUI, I'd like to detect when Windows is shutting down, restarting, or logging off. I need to differentiate between shutdowns, restarts, and log offs. As soon as one of these actions is detected, ...Show All
Vahidiran It's slow!!!
Hello After I turn on my computer and when I launch first program (which programed by VB2005), it's take a long time to show main form. VB6 was faster. CPU speed: 2600 MHz Memory: 1024 MB Is there a solution for that Thanks & Regards I have VB2005 Professional Edition. Where can I find RunOn8086Processor and RunOn Apple I m ...Show All
Rob Chandler comparing rows in a table
I have a table that collects Sequence Number (auto number) TimeStamp (date and time) TechID (employeed who scanned a transaction) Time Difference I would like to order the data by techid and then by sequence number then update the time difference field by comparing the time between two records. Record 1 SEQNO = 12345 TECHID = 1 TimeStamp = 5/16/2006 12:13:58PM Record 2 Record 1 SEQNO = 12346 TEC ...Show All
Dave Yuhas email problem in vb.net
I have tried sending email using 2 source codes off the Internet. One from only4gurus "How to send email using STMP service" and "stmpex" from another web site neither work for me. With both I get an error message "Could not find CDO.message' object". I have set all the Virtual Server settings according to the Microsoft instructions. I am using windows 2000 and a LAN network, which perhaps is the problem Any s ...Show All
