Answer Questions
jonalder Selecting a particular word from a Word document through Visual Basic 6
I am using Visual Basic 6 to develop programs. The user enters some data to text boxes. The program creates a Word documents using those values as well as some other texts (labels). The user wants that the values entered by him should appear as bold, while the labels should be plain text. I can apply different styles like bold, underline to an entire paragraph using range, but am unable to apply bold formatting to a particular word in a paragrap ...Show All
Mr.Wut Socket Encoding and Decoding using Ascii Encoding
Hi All fairly new to VB .Net and have been trying to port code from vb6. I have picked up the sample application for sockets and my problem is I have a string which come come in with binary data packed as bytes i.e 10101010101001 and the bytes would appear as .>D.... .. .B..." compressed bitmap. It would now appear that I cannot see the full string I have some characters missing and when I read through the data and build a response I can ...Show All
GenxBear if
hi, my Button1 has the code -- Process.start(filepath) But if the app it opens is already open i want it to not open it again, if you get me If anyone knows how, please post! If you know the title of the window ( the text on the window ) of the app you want to start, you can enumerate windows, looking for that one, and if it's there, don't start it. If the app you're starting is one you wrote, then the easiest way is to write co ...Show All
rmillerii I have problem with win2000 and vb2005 in clickOnce
Hello all, When I install my clickonce application, in win2000 OS there is a problem comes up when first form shown there error mesage is System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle ) at System.Windows.Forms.Control.MarshaledInvoke (Control caller, Delegate method, Object[] args , Boolean synchronous) ...Show All
Staf-fan When I build project I get an old build even though I have restarted deleted all files in BIN
When I build project I get an old build even though I have restarted deleted all files in BIN. Why How do I get a new build to execute Michael Clean the project. Go to Build->Clean <project name> Dusitn. I had already done that. After about 50 attempts it finally started to work. Although in all of this the debug (F9) does not work no matter what I do. Michael That did not work. Michael Delete the \Bin and ...Show All
Leon Stevens Networking probelm
Hi; Is it possible to make workgroup-based networking using different operating systems( like windows XP & windows 98). Any suggested good refernece to networking (best books) Thanks Hasan are you sure you are in the correct forum This forum is for Visual Basic 2005 and related questions only. Please post you question on the Microsoft Newsgroups . ...Show All
Isaiah D. Williams Searching via a textbox string
Hi... I'm just jumping in to VS2005, and have tried to create a simple database search that will return all the items that are similar (begins or like ) text in a 3 column database table. The form has an input textbox, and a datagrid, similar to the output of an ASPRUNNER-PRO page...only I don't want a web page, I want to do this on a form. Everything IO've seen and read pertains to bound data to text boxes, whic is the opposite of what I am try ...Show All
Thomas van der Heijden Index was out of range
I wrote the following code and it works when there are only 5 items but im doing this on a selection of 233 or more and i get the error same as title The full error message is: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Dim redv As New DataView(Items1.Alchemy) DataGridView1.DataSource = redv Dim y As Integer = 0 Dim rowcount As Integer = ((Da ...Show All
Cy Harper How to make labels transparent
Using the transparent color for label backgrounds do not work. Any ideas Can you do it with textboxes Thanks. Thanks Thats exactly what it does. However, for forms with images as backgrounds, or gradient fills, etc, it doesn't work. The only thing that you can really do is to force an OnPaint and pass in a created Graphics variable (so it draws to memory and not the ...Show All
TABLO Using sender as a case in Select Case Statement
When my form loads it adds some handles (using AddHandler ) to a sub ( showStatus ). What this sub does is checks which control activated the sub (using sender.Equals ) and displays text in the status label ( status ) accordingly. For this I use an If...Then statement for each possibility. There are many possibilities and my code get cluttered. Is there a way to do the same thing with a Select...Case statement. I tried: Select Case sende ...Show All
hklbj ClickOnce Deployment for Testing Vs. Production
I have a application that I deploy using ClickOnce. My issue is one of setting up the testing process before I release for production. I want to deploy the application for testing to \\SvrTest\ClickOnce\MyApp . Once my testers have given the green light, I want to move the binary up one stage to the UAT team which will download the SAME release from \\SvrUAT\ClickOnce\MyApp . After UAT is done, I want to move the binary to prod ...Show All
Mariano Iglesias Creating, Adding and Viewing Data in a table
I need to create a temp table in VB2005 and then add data so I can create forms and labels after I have gotten all the required infor from other SAP tables. I have enclosed my code and could really use some help. I thought everything was working but when I try and view the data in the temp table there is nothing or it just isn't showing up. Try Me.WBDataTableTableAdapter.WBFill(Me.WBDataSet.WBDataTable, New System.Nullable(Of Decimal ...Show All
sdfsedfdsfsdf Object reference not set to an instance of an object.
I'm receiving this error: "Exception Details: System.NullReferenceException: Object reference not set to an instance of an object." In regards to this line of my code: ElseIf Request.Cookies("userid").Value = "" Then and if I comment out that line it also gives me the error in regards to this line: UserID = Request.Cookies("userid").Value Here is my code behind: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Partial Class ...Show All
SfinXx Relase the Fix for Visual Basic Compiler Error &amp;H8013141e&amp;
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
biriktirici1 How to get Stings of 8 bit Chars from Comm Port
I am using an MSDN RS232 sample VB code in VSTS2005 to read and write from/to the Com1 port. But the example uses System.Text.ASCIIEncoding.GetString which only handles 7-bit ASCII characters, not 8-bit. I don't see any Encoding format that will return strings of simple 8 bit bytes of characters from the Serial port unmodified. What Encoding code can I use for simple strings of 8-bit bytes so that I can handle 8-bit binary data from the COM1 ...Show All
