-
- PrintForm does not Install via ClickOnce Deployment
by ANS-Denver
- 14 Replies
- Last post
by ANS-Denver
- PrintForm works on my development workstation in both IDE & the application EXE installed from ClickOnce site. However, on 2 client PCs, both running Windows XP, the EXE fails with "Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Printing.PrintForm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the f
-
- Detecting a text file's encoding
by neverhome
- 2 Replies
- Last post
by neverhome
- What's the best way to detect a text file's encoding (Big Endian, Little Endian, UTF8, etc) before I display it in a RichTextBox Thanks AB
-
- How to remove only the columns fields on a pivot table
by a0k0a7
- 1 Replies
- Last post
by Bruno Yu - MSFT
- How to remove only the columns fields on a pivot table ...
I building a macro that after data is appended in the report need to add new columns to pivot table. I had been successfull of adding the new columns but I am having issues sorting them out.
I am looking for a way that I can clear the columns of the pivot table, so I added the columns based on the date range on the report.
-
- 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
-
- Coding VB6 with VB 2005+?
by Lost Alpina
- 1 Replies
- Last post
by Frank Boyne
- Hi all, I need to write some code in VB6 but do not have VB6. I would like to know if I can use VB 2005/2008 Beta or the latest VB Express to code apps for VB6
Thanks.
-
- Can't find top of form
by GlennK
- 6 Replies
- Last post
by GlennK
- I'm using VB 2005 Power Pack 2.0, and trying to print to an old HP Rugged Writer dot matrix printer. The problem is that after lining the paper up in the printer, making a few Printer.Print calls, and then calling NewPage() and EndDoc(), the printer starts printing at random locations. Sometimes it'll advance a few lines (or a few pages!), and sometimes it'll back up before it starts printing. Als
-
- looking for better approach - better performance
by wayliff
- 6 Replies
- Last post
by cybertaz69
- Hello this current code does most of what I want it to do...however I think it could be written more efficient as well as get better performance.
Here's what i'm trying to do...
It retrieves all the files available from a network path. Then it compares the two letter string inside the combobox with the extension of the file.
Then it opens a text file and looks to see if the name of t
-
- Reading last record from a database
by Simone1
- 7 Replies
- Last post
by Chris Dunaway
- Hey guy, I have a program that is reading and writing to an SQL database. I would like to be able to read the last record that was written to a table. Does anyone know how to do so Thanks
-
- How to read all bytes back into array or bytes
by Tryin2Bgood
- 3 Replies
- Last post
by spotty
- I write some bytes to a file but when i read them back out i dont have the same amount of values i put in...I write the bytes like so
Dim keyFileStream As FileStream = File.Open(keyFile, FileMode.OpenOrCreate, FileAccess.Write)
Dim IVFileStream As FileStream = File.Open(IVFile, FileMode.OpenOrCreate, FileAccess.Write)
keyFileStream.Write(Key, 0, Key.Length)
IVFileStream.Wri
-
- dll raises modal error message, stops execution of main app!
by biscuitlad
- 4 Replies
- Last post
by biscuitlad
- Hi
I reference the API provided by a dll. Our application wraps around the dll and uses its API. However, at a certain point a call to a method to write a file can cause the dll to raise a modal error message. This stops our application until the error message is clicked and execution can continue. It's a complete showstopper for us!
Is there any way I can trap this and stop the modal er
-
- Reading XML
by AllanP
- 1 Replies
- Last post
by nmadd
- I have the following being return from a database column
<QUERY_RESULTS><RECORD><NAME>orcl</NAME><NAME2>MOBILE2</NAME2><VERSION>10.1</VERSION><TIME>07/07/2007 07:45:21</TIME><ANSWER>NO</ANSWER><ANSWER2>ALLOWED</ANSWER2><STATUS>ACTIVE</STATUS></RECORD></QUERY_RESULTS>
How do
-
- combobox additems
by newbieneedshelp
- 3 Replies
- Last post
by Hooper
- I have a datagridview with 8 columns and a combobox on 1 form. I would like for the dropdown items in the combobox to equal the data in column 8 from the datagridview. \ thanks
-
- Does and API Call mean VB is Managed and Unmanaged?
by JaDaar
- 3 Replies
- Last post
by JaDaar
- As we all know, VB.NET and C#.NET are managed languages, but if I include a specific API call to, and this is for arguments sake, GDIPLUS.DLL for a specific function instead of using the System.Drawing Namespace - have I forced the VB/C# project to become both managed and unmanaged
Jeff in VA
-
- XML Creation
by km9
- 6 Replies
- Last post
by Kenny99
- Hi,
Hopefully this is the correct place for this type of (probably quite basic) question..
apologies if it is not..
I have some html (that is xhtml compliant) and I want to add it to a xmldocument that represents a
part of a web page (I know which node in the document I want to append the text to)..
However I am not sure of the best way to do this..
I began by creating a
-
- Adding datestamp on end of file
by MyronCope
- 1 Replies
- Last post
by Karl Davies-Barrett
- I am making a VB.Net 2005 desktop app and I need to add a datestamp on the end of a filename. How would you do this thanks
-
- Bug using AddHandler within a Using/End Using block
by Terry Hutt
- 2 Replies
- Last post
by Terry Hutt
- I have spent some time trying to figure out why AddHandler doesn't work when I dynamically generate ASP controls in the Page_Load event. The code I wrote looks like this and works fine (i.e. the controls are rendered) but the Clicked routine is never called.
Protected Sub Page_Load .....
For i as integer = 1 to 10
Using o as new Button
o.ID = "Label" & i
-
- Having problem while inserting data into SQL Server 2005 Database
by Masudul Islam
- 7 Replies
- Last post
by Vilsad - MCTS
- hi, i'm having problem while inserting data into SQL Server 2005 Database. Code and error message are mentioned bellow.
I'm using VB 2005
CODE
Private Function GetConnectionString() As String
Return "Data Source=voffice\sqlexpress;Initial Catalog=Employee;Integrated Security=SSPI"
End Function
Public Function Insert( ByVal objEmp As
-
- Determining if a file has a registered association?
by Mitch Wardrop
- 2 Replies
- Last post
by Hugo Rumayor
- Hey everyone, hopefully someone can give me some guidance here. I have an application that is a lot like a windows explorer clone. When you double click any file in the listview it attempts to execute that file via the following code :
Code Block
Dim startInfo As System.Diagnostics.ProcessStartInfo Dim pStart As New System.Diagnostics.Process startInfo = New System.Diagnostics.Proce
-
- Datagridview with bound and unbound fields
by ruivlessa
- 5 Replies
- Last post
by ruivlessa
- I would like to create a datagridview with two fields. (mini-example)
A product list.
First column, unbound, i would like to insert the product code.
The other one, by code, and in this case a bound one ( i think), i would like that the description of that code product of first column appeared there automatically.
I would like to simulate an invoice with n entries of n products, where
-
- Performing operations on out of focus windows forms VB 2005
by CoderD
- 14 Replies
- Last post
by CoderD
- I have a Mdi application I am coding. One screen is a datagridview and from that the user double clicks a record to open a new window. On the new window I have next and previous buttons. Is it possible have the highlight on the datagrid move with the click of the next and previous buttons without leaving the focus of the details window
-
- ASP.Net Custom Control UITypeEditor
by SoloCoder
- 1 Replies
- Last post
by DMan1
- Hi guys,
I'm at my wits end here... any help would be much appreciated.
I'm creating an ASP.Net custom control (VS 2005 .Net 2) and have a property that is a String which I can edit using my own Form called like so from my control (no rocket science here): -
<Bindable( True ), Category( "Appearance" ), Editor( GetType (PropertyEditor), GetType (UITypeEditor))>
-
- How to stop user changing DataGridView Row but allow focus outside DGV ?
by m&#64;t
- 2 Replies
- Last post
by DigBoy2000
- Hi all,
Summary: With DataGridView, how do I prevent a user from changing the Current Row Selection without
stopping them from leaving the DataGridView ie. they shouldn't be able to change the currently
selected rows by clicking on another row in the DGV, but they should still be able to leave the DGV
to move to a textbox or button etc.
It appears all of the methods avail
-
- Comparing a BackColor Property
by ProgrammerJohn
- 5 Replies
- Last post
by ProgrammerJohn
- I wish to compare the backcolor property of a button to a system.drawing.color but the following code does not allow it:
if button1.backcolor = system.drawing.color.blue then
.
.
.
I am told that the "=" operator is not defined for the objects color.
How do I check to see what the color is
Thanks.
John
-
- ODBC Connection to Oracle DB
by Parwaze
- 3 Replies
- Last post
by DavidM01
- I am using OdbcDataAdapter to retrieve information from oracle DB and when the retrieval time is lengthy I am getting an Error " SQORA32. DLL, ERROR(HYT00) (Oracle) (ODBC) (ORA-01013: User requested cancel of current operation". I thought it was a timeout error and increase it but still getting the same error.
Please see if someone can help!!
Thanking you in advance
Parwaze.
-
- Rich Textbox coloring
by gudel
- 1 Replies
- Last post
by ahmedilyas
- Is it possible to have separate color on certain words in rtb I have an application that search from SQL and that information is displayed on a textbox; it is similar to chat format, but the new information shown above unlike on the bottom like chat. I would like the newly searched item to be shown on top part of the textbox.
How do I make certain word or line in color while others are differen