Answer Questions
Mintal Errors in Terminal Server Environment.
Hi Folks, I am working in a Citrix Terminal Server environment for development. I get an error related with the third party controls in my vb 5.0 project. This error is not occurring regularly. The error message that I keep getting is : Line 31: Class MhgkeyLibCtl.Mh3dKeyStat of control KeyStat3 was not a loaded control class. Line 48: Class MhgkeyLibCtl.Mh3dKeyStat of control KeyStat2 was not a loaded control class. Line 66: Class MhgkeyLi ...Show All
Holywhippet database data seatch by testbox.text-->HELP!!
how can i serch database data by using textbox.text i have large database with 5 colums and .......10-12000 rows i need 2 find all rows = textbox.text then select 1 of them (if more than 1-variable) and display efect value-5 columns value- in 5 textbox's i try do this by query but....how can i select filter by textbox.text O_o thx a lot 4 help Hello. One way you do this, assuming you're us ...Show All
dcstr Visual Basic and Excel
Hi, I am trying to read from an Excel Sheet using Microsoft.Jet.OLEDB.4.0, and the Connect String is Imports System.Data.OleDb Private m_sConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=File1.xls;" & _ "Extended Properties=""Excel 8.0;HDR=YES""" Later I Read form the file using the following Code: Dim conn As New System.Data.OleDb.OleDbConnection ...Show All
Tarmo Tali Copy Protection Code??
Does anyone have any idea how to copy protect the software that you write Does anyone have any simple ideas that might involve the use of a serial number or some kind of encryption Thanks! Are you looking to implement your own copy protection scheme or purchase off the shelf This is the first decision to make when looking at copy protection. After that you should use code obfuscation (like that provide ...Show All
Peter607 A Pause with a Loop
Okay...what I want to do seems simple but I've been at it off 'n on for a few days with this & finally decided to post my question. I have a Label I want to flash on & off a few times much like a warning sign. You would think something as easy as: For i as Integer = 0 to 20 Label1.Visible = True Thread.Sleep(500) Label1.Visible = False Next would do it. But it doesn't. I tried throwing a timer in there s ...Show All
Fahad Habib Visual Basic 2005 MenuStrip RadioCheck Properties
I can't seem to find the radiocheck properties for menustrip menu's it is in earlier visual studios version. does anyone here know anything about that I would surely appreciate the help. It doesn't exist. You will have to derive from ToolStripButton and implement your own. ...Show All
Nyidalur additional overloads for My.Computer.FileSystem.[DeleteFile|CopyFile|MoveFile|...] to handle a list of files
It would be very useful if the methods DeleteFile CopyFile MoveFile etc. of the My.Computer.FileSystem object would each have additional overloads to handle multible files at once. e.g. dim files() as String = { "foo.txt", "bar.txt" } My.Computer.FileSystem.DeleteFile(files, FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin) I think, thats easy and fast to implement since I heard that these methodes are wrappers fo ...Show All
PierreWT VB6 to .NET
I am currently supporting and developing a VB6 client based application that needs to be migrated to a web based application. I am know that we will be migrating to .NET but what will that mean that it will be converted to a web based application or what will it take at a high level to make it web based Once I have migrated by VB6 application to VB.NET what steps will I then have to do to make ...Show All
David Olson Change Connection String At Run Time
Is this even possible I want the user to be able to select a database file from a open file dialog box. From there I know how to create the string however by using: My.Settings.connectionString is read only. Any ideas on how to be able to change the connection string based on what the user selects Thanks, chris Hi! I have the same problem. Did you find a solution First of all, I don ...Show All
danidin Exception from HRESULT when using SPeechLib
Hello all. I have been using the beta releases of VB .NET 2005 (I must say that theyre very good), and I recently switched over to the final build, complete with the .NET framework 2.0. Now, I was using the MS SpeechLib to speak using the Text-To-Speech engine thru the speakers. This was working fine throughout the beta builds, but when I switched over to the final, it has problems. See, randomly, whenever I call the speech library, my app cras ...Show All
MAKER01 I want to unload a web page when it is done. How do I do that?
After I have finished with a web page, it is important that it reset for the next use. I would think unloading it would be the best way to do it, but where do I create the event to unload it (Also by unloading it, I should be forcing the form load event to happen when it is called again, which I want). What exactly does the code look like to do this. Am I safe to assume the code would be the same for both VB 2005 and 2003 ...Show All
NomadaPT "Can't add a reference to selected file."
I'm in new territory on this, and after an hour of searching on the net and MSDN, I can't find a satisfactory answer, so here goes. I am using VS 2005 B2 and have Excel 2003 installed. I wrote a simple class library using C++/CLI (C++ with the clr switch). It seems to work just fine when used from, say, a console app written in C#. But I want to be able to use the component from within an Excel macro. While in the VBA environment for ...Show All
asamper Generating a unique ID
I want to generate a unique ID in VB.NET that starts with ASXXXXX where XXXX represents a number. The number has to start in an orderly fashion. This ID will then be stored in a SQL Server express table. Can someone advise how this can be achieved. How do I increment the number by 1 as I guess that I would need to combine a string function if I am using characters as part of my ID. Also how do I use a GUID ...Show All
MotoMan Global Assembly Cach link is wrong
Hello, my problem ist, that I print Documents with Word. To Use Word I have to following Assembly importet in my Programm. C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word\11.0.0.0__71e9bce111e9429c\ After Debugging my Programm the Link is set to D:\Programming\Projekt\bin\release\Microsoft.Office.Interop.Word.dll How can I set the Link back to the GAC When i open my Project on my Laptop an error occured, he tells my that the Versi ...Show All
rfitch Bypass OK button
How do I code in to auto enter an "OK" button so the user does not have to click on it It is a little hard to understand what he/she is after, but from what I understand the following could help: button1.PerformClick(); I think the both of you have covered the possibilities. I'm still confused as to why someone wants to do this Make a msgbox appear, to only close it right away...&nbs ...Show All
