-
- using NonSerializedAttribute class with Visual Basic events
by JamesPK
- 4 Replies
- Last post
by JamesPK
- I am having a problem serializing an object, in that it has events, which are handled by event handler methods in an instance of UserControl. Thus, when the object is serialized, those events are serialized, along with references to their handlers, which makes it try to serialize the UserControl instance, which cannot be serialized (even if it could I wouldn't want to). Apparently you can't just u
-
- Windows Roaming Profiles causes the first-time launch message to be displayed on each startup of Visual Studio 2005
by hortont
- 1 Replies
- Last post
by Feng Chen - MSFT
- Has anyone seen this issue before I found one KB article 316093 but it did not help me out very much. Any other suggestions
-
- Replace text(string) w/ TextBox
by puffzotty
- 4 Replies
- Last post
by puffzotty
- Hi.
I have bunch of text in a database and I need to replace part of text (strings from db) with textbox. For example, if I have " How are ____ ", I need ____ part of the string apear with TextBox so that user can fill it in.
I was thinking of using displaying the text with Label control, and "___" part with TextBox. Not every sentence is going to have ____ at the end, so
-
- copying html contents from file with querystring
by Teos
- 2 Replies
- Last post
by Teos
- Hello
i need to copy the contents of a html file. i have tried the DownloadString method, but
the page i need to copy has a querystring. (e.g articles.aspx id=2) if i add the querystring to the address then an error pops up saying the address is not a valid virtual path.
Any ideas how i can get around it
-
- using PictureBox1.Image = ?
by Flame4e
- 7 Replies
- Last post
by Flame4e
- ok so i dont know the code to make a picture box equal to my image 001.png
the image has already been imported so help plz
-
- How to weld two ( 2 ) Forms together?
by Cesar Francisco
- 6 Replies
- Last post
by Cesar Francisco
- How to force two Forms to move together on the screen
-
- The custom tool 'MSDataSetGenerator' failed while processing the file...
by PhillipM
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Could someone please help with this nutty VS2005 error. I know I have an error in my dataset file (XSD file), but none of the errors listed after this warning message truly points to the source of the problem. In the past, when my dataset had only a few tables, it was easy to find the error. Now I have 50+ tables.... I'm not sure where to start...
The custom tool 'MSDataSetGe
-
- My singing Expiration Date
by Romantic_touch
- 0 Replies
- Last post
by Romantic_touch
- My singing Expiration Date is 14 APril 2007,
now when I going to publish my application (VB), it gives an error.
I replace the cerificate by the one in store certificates.
I when I publish and download the error comes after finisheg the application
ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of D:\ShomosNet\AccBa
-
- How to force links to appear in RichTextBox
by KaIibr
- 9 Replies
- Last post
by BrenoM
- I want to be able to force a string of text to appear as a link in a richtextbox. Ideally, it be something along the lines of "String to appear", "The String's link" Something along those lines will be good. My project involves loading text from a textfile, and displaying it in a richtextbox. So because going "file:\C:\Data\index.txt" looks horrible, I want to hide i
-
- User Defined Queries - Partially Figured Out
by eXodus0426
- 6 Replies
- Last post
by eXodus0426
- I have this bit of code:
Code Snippet
Private Sub CRS_Date_RestrictToolStripButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CRS_Date_RestrictToolStripButton.Click
Dim CRSdateOne As String = Param1ToolStripTextBox.Text
Dim CRSdateTwo As String = Param2ToolStripTextBox.Text
Dim CMSdateOne As String = Para
-
- LIKE with Param
by JMK331
- 2 Replies
- Last post
by nmadd
- SELECT Descr, InvtID FROM Inventory WHERE (Descr LIKE '%' + @Param1 + '%')
I am trying to run this query and display the results in a datagridview. When I run it I get no results. It works fine when I preview it in the Query builder and returns the expected results. It does not work when I right click on the query and click preview data in the table adapter screen. If I eliminate th
-
- New Readme file is available for the Visual Basic 2005 Power Packs 2.0
by JohnHart_MSFT
- 1 Replies
- Last post
by Bruno Yu - MSFT
- We have just posted a new Readme file for the Microsoft Visual Basic 2005 Power Packs 2.0. This file contains the latest information, including all of the known issues and solutions, regarding these Power Packs .
The readme can be found at:
http://download.microsoft.com/download/1/f/b/1fbba5cb-53d2-4bcd-862c-b91d4122cd63/Visual_Basic_2005_PowerPacks_2_Readme.htm
If you find
-
- Best practice to Open a form
by JohnJDB
- 10 Replies
- Last post
by JohnJDB
- Hi,
Whats the best way to open a form from another form, without creating form duplicates
I've seen code that just says
myform.show() that seems to work fine.
In code I've done in the past I've instantiated the form first in the calling forms module
Dim formSiteInfo As New frmSiteInfo
Then when the user clicks on a button, run the code below.
If myform.IsDisposed Or
-
- zip files
by l33t
- 6 Replies
- Last post
by Smalo
- I need my app to deal with compressed files (any format will work, zip, gzip, rar, ect)
I need to
-Take several files, add them to a compressed file, with a non-standard extension, instead of making it something like .zip make it something like .app so the file can be associated with my app. OR Take several files, add them to a compressed file with encryption & user spec
-
- Configuring DatGridView Controls
by dclements
- 5 Replies
- Last post
by Aw Ali
- I'm trying to make it so that my DataGridView is able to add and delete records from a database.
I believe I have the add, and save working ok, but when I try to delete I delete extra rows and will get errors if I try to save.
Here is my delete row method
Private Sub BindingNavigatorDeleteItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handl
-
- CoInitialize problem with .NET thread and interop VB6 component
by TCDev2
- 1 Replies
- Last post
by rkimble
- Hi - I have a legacy ActiveX dll, written in VB6, which displays certain dialogs (forms). The dll is being used by a VB.NET windows application. The .NET application makes calls to the dll, which displays the dialogs.
These dialogs are shown modal due to design constraints in the COM dll. I need to show various such forms (not modal). Hence from the .NET app I create a thread for each call to t
-
- reading binary data from varbinary(max)
by KAllbritain
- 7 Replies
- Last post
by KAllbritain
- I used to do this with an Image data type (sql2000) and an array of bytes. Worked great. Now , in sql2005/vb2005 we are supposed to use the varBinary(max) type . Fine. Anyone know how to get it to work the reader code is straight from the help docs in the section: "Working with large value types" I'm trying to use some of the new functionality but I can't get anything to work well yet
-
- Edit IIS Metabase with vbs script
by dabing
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi,
I have created a simple vbs script that will connect to the localmachine that the script is on to apply a http redirect to a website. Below is the script.
------------------------------------------------------------------
Set IIsWebVirtualDirObj = GetObject("IIS://localhost/W3SVC/2/Root")
IIsWebVirtualDirObj.Put "HttpRedirect", _ "http://www.google.com, E
-
- help
by newuser2007
- 12 Replies
- Last post
by marymary23
- hi im new student in vb2005 i work on some project,it include 100 text box,first question how can i clear them second how can i keep the last info. entered by the user until the user change it a gain can do for loop on textbox's last point about ritch textbox,what difference b/w it and ordinary textbox and how can i print on ritch textbox series of lines it replace first line all the time sorry
-
- Datagrid assigned to an arrarylist
by RAnderson16
- 4 Replies
- Last post
by RAnderson16
- I have VB.net 2003 and I assigned an arraylist to a datagrid. How do I go about customizing the settings of each column. I would like to vary the width and make some read only. Also, it places the column names in order but not alphabetically. I have to reverse it for that, and then I end up with the tabs working in a reverse fashion. Is there a way to assign row names That would solve the column n
-
- Compact and Repair Access 2003 Database
by Husker
- 2 Replies
- Last post
by Husker
- I am using VB .NET 2005 and I would like to compact an Access 2003 database. I've read "How to compact a Microsoft Access database by using Visual Basic .NET" from the knowledge base but it will only save in Access 2000 (link below). Attempting this with a 2003 database throws an exception about not being able to save it as an older version (losing features and what not).
Is there a
-
- Printing Multiple Pages in VB.NET
by JoshStodola
- 14 Replies
- Last post
by JoshStodola
- Hello experts, I was given the wonderful task of converting a VB6 program up to .NET. And the ol Printer.Print was being used rather extensively. So, I need some way to print 1 or multiple pages with nothing but lines of text. The lines of text will be short, so there are no horizontal overflow concerns.
Let me tell you what I have done so far. Of course I am utilizing the PrintDocument cla
-
- paste picture in AxRichTextBox
by Kelpie
- 3 Replies
- Last post
by Kelpie
- Hello How i can paste picture in AxRichTextBox I only can paste text, I use that to paste text : Dim iData As IDataObject = Clipboard.GetDataObject() If iData.GetDataPresent(DataFormats.Text) Then rtbInforme.SelText = CType(iData.GetData(DataFormats.Text), String) End If End If Thanks
-
- How can i convert font of string
by nbn
- 6 Replies
- Last post
by nbn
- I want to convert font of string by code, can i do this
Could you please help me If you know this.Thanks in advance.
-
- Visual Studio framework and Windows Vista
by Jase1000
- 3 Replies
- Last post
by spotty
- Firstly a quick hello as I am new to the forum - so HELLO!!! I have a leading question and one that probably sounds a bit dumb, but... I want to load Windows Vista onto my home machine and run Visual Basic .NET 2005 which I understand is fine. I have two concerns. (1) I will be using developing apps in Visual Studio on a Windows Vista machine at home and tranferring them to a Windows XP machine