-
- screenshots
by kevdog114
- 2 Replies
- Last post
by kevdog114
- Is there any straight forward way of creating code to get a snapshot of another application
-
- refresh datagrid
by Ayooya
- 3 Replies
- Last post
by cybertaz69
- i have datagrid in parent form, when i add record to table from child form, the record is n't updated in datagrid records
how i can update datagrid.
-
- VS 2005 Weired Bug
by Shah Ji
- 0 Replies
- Last post
by Shah Ji
- My windows application was working fine until yesterday. When I started working on it today still it is working fine but now it doesn't recognize any new changes I make, doesn't catch any errors and even doesn't recongnize any break points.
It seems like reading from some old cashe file or something I can't make any changes to my application now... If I make any changes it will build fine but d
-
- MAKING .NET CONTROLS - OCX VB6 COMPLIANT
by Dario Galvani
- 14 Replies
- Last post
by Avy32
- Hi all,
I have to create a .NET control. It have to run in a vb6 app.
I'd like to use it like a standard OCX control. I've found in the net that it's possible.
there's anyone who can tell me in which way I can do it
It's simple:
have a .net control and import it in a VB6 controls list by "add control". and have it working right.
Dario
TIA for any suggestion!
-
- UpDown to NumericUpDown
by Timothy Atchley
- 18 Replies
- Last post
by Timothy Atchley
- Hi,
I previously upgraded a program from VB 6.0 to VB 2005. I have gotten it to run, however, in my program I used the UpDown COM from VB 6.0. The exact component I believe was Microsoft Windows Common Controls (SP6). Anyways, the old UpDown from 6.0 was just two little arrows that pointed Up and Down. Beside that, I had to use a text box to show what it was actually referrin
-
- Compare two arrays
by f-l-i-p
- 3 Replies
- Last post
by Bruno Yu - MSFT
- I am attempting to write some code that will do a compare and report if it finds missing or duplicated numbers from two arrays.
First array will be a control set of good numbers (ie 0-10) and the other array will be the test data that could have missing or duplicate number.
What I need to do is find and the errors but carry one after each error is fond until the end of the control array
-
- How to use the command print...
by Kessyus
- 2 Replies
- Last post
by spotty
- Hello fellows, Good night. I have a question, I know its a bit stupid but I really need help with this... Well, when I try to make the command (for example): Print #1, "test" & vbnewline & ""test"" & vbnewline & ""[test]"" Visual Basic doesn't understand what I want... And always change my code to: Print #1, "test" & v
-
- How to solve this: Error 1 Unable to find manifest signing certificate in the certificate store.(vb.NET)
by reverser
- 3 Replies
- Last post
by reverser
- hi all, i m getting problem inh my project, which in VB.NET. Actually i was developing a small software, to be familier with visual basic.NET, as i was coding with Visual Basic. everything was running very fine, day before i installed winXp again ( freash installeation). Then simply VS 2005,with out any error. Now i m able to open, my project, i can edit it, but if i try to build the executable, o
-
- Save a JPG or SOMETHING of a completed form
by therios
- 6 Replies
- Last post
by therios
- I am in need of saving a completed form to a file. I would like to save a screenshot of the form but am open to any suggestions. I know that I can copy the form with a screenshot but I think that is a kludge but am open to that idea as well. I would not be totally adverse to saving it back into a sheet if that was easier.
Any ideas are greatly appreciated!!
-
- What is a class
by Hoopy
- 1 Replies
- Last post
by SJWhiteley
- Absolute beginner to Visual Basic .net.
I have experience of using Microsoft Access VBA and have managed to write a few applications which pull data from our system using ODBC.
I am really self taught and have managed to develop what VBA skills I have using the internet - know what I wanted to do but didn't know how in VBA so found someone who had....
I am due to go on a beginners course
-
- Different "Path is not of a legal form" error
by Tailor
- 5 Replies
- Last post
by Tailor
- Hi,
I added a standard windows form to my project, and had most of the code done. When I tried to open the form itself in design mode I got the above error. I tried rebuilding, cleaning and a few other things, and sometimes when I closed and reopened my project, it would work OK, other times I got the error.
In desperation, I deleted the form and the underlying code, and started afresh.
-
- using current directory instead of static directory
by gr44gs
- 4 Replies
- Last post
by gr44gs
- I have an excel macro that because it is going to be used from many different directories needs use the current directory for the bold section below instead of a static directory. How do I do this
The file name will always be the same
With ActiveSheet.QueryTables.Add(Connection:= _ "TEXT; W:\Work\BFI\BFIResults\Copy2of05455100b\ N2.BFI", Destination:=Range( _ "A1&q
-
- Passing by Reference
by SSwam
- 3 Replies
- Last post
by SSwam
- Hi,
I have a subroutine (InitNotes) that has a form as a parameter by reference. This subroutine calls another sub that fills by couple of comboboxes on that form. This InitNotes is being called by 2 forms. When I upgraded the project from vb6 to vb.net it gives me the following error "Control cboNoteType could not be resolved because it was within the generic namespace Form." and th
-
- Field TEXTBOXT
by ssmony
- 1 Replies
- Last post
by Bruno Yu - MSFT
- In the Field TextBox in Report design mode, I type
=Forms!Form1!txtTotal
where txtTotal is the control name from Form1 (VB2005)
Is it correct
-
- How can I close a javascript alert in WebBrowser
by timmytong
- 3 Replies
- Last post
by Bruno Yu - MSFT
- Hi all,
When I load a webpage in the webbrowser control, an alert popup and stop the program execution. How can I write code to close the alert
Here is a sample page:
<HTML> <BODY> <SCRIPT>alert('Testing');</SCRIPT> </BODY> </HTML>
Is there any way to close it on the Navigated or DocumentCompleted event of the webbrowser
Or is there an
-
- Deploying multiple EXE's using the basic publish mechanism of the IDE
by Al Christoph
- 5 Replies
- Last post
by Spidermans_DarkSide
- I have a rather convoluted project. The distributable will come in eight different flavors, each with its main program, libraries, datafiles, doco, etc.
Each flavor will also have one or more standalone executables that can be called as tools from within the main program.
To complicate matters I'm using VSS 2005 to track everyting and I'm trying to use links both within the IDE and VSS to mi
-
- combining a class name with the value of a variable
by Calla
- 7 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Sorry folks, newbie question. Go easy on me. I have a variable x with a numeric value (1,2..) I also have several textboxes (textbox1,textbox2..) can I concatenate 'textbox' and the value of x when referencing a textbox e.g. textbox(x).text to make 'textbox1.text' it sounds daft but it's driving me mad. Any help most appreciated. Thanks all. Calla.
-
- Execute Batch file from application
by OMEGA_ReD
- 14 Replies
- Last post
by OMEGA_ReD
- How can i execute a batch file
ive tried it with the shell function: Shell( "c:\text.bat" )
but i keep getting a file not found error.
is there another way for executing an batch file
thanks
-
- webbrowser control and mousedown events
by ReneeC
- 1 Replies
- Last post
by ReneeC
- I've been really struggling with the nuances of the webbrowser control.
Orginally I was having trouble getting interpretations of flash window urls and I'm using an extended webbrowser control for that. It's take care of.
But I really need a mousedown event. I'm very familiar with the technique of creating loading an HTMLDOC from wb.doc on a document completed event. I use that in my applica
-
- vb to c# Implements IComparer
by White Dove
- 3 Replies
- Last post
by White Dove
- Hi guys
I really need help
I converted a program from c# to vb
http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
But I got some errors
This program used to read the xp firewall log
You can find it coded in c# at
http://www.hope.co.nz/
Both the vb & c# are available
At
plz-donotchang-pw@hotmail.com
pas
-
- Object Oriented - Read/Write XML-Like data. This does XML writing in VS2003.
by TylerM
- 2 Replies
- Last post
by Spidermans_DarkSide
- I'm trying to read the following data in my application:
"FILE_PATH" {
"SECTION_NAME" { "PropertyName" "PropertyValue" }
}
It almost has the same structure as XML in a few senses.
Does anyone have any ideas on how I can write a method that would read and write:
FILE_PATH SECTION_NAME PropertyName and set PropertyValue when PropertyNam
-
- Store Forms.Label Font in a Data Base
by Joe M Jordan
- 3 Replies
- Last post
by SJWhiteley
- In VB, how can I store the font information of a Label in an Access Data Base
-
- Image.FromStream(ms)----> error "Parameter is not valid." Help!!!!
by BorisAro
- 2 Replies
- Last post
by sanjeet.blr
- Hello! I have an OLE Object in my table, that may be jpg, doc, xml file. In case of jpg I'd like to show it (VS2005 Visual basic). I did next (not full code): Dim ms AsNew MemoryStream() Dim reader As OleDbDataReader = cmd.ExecuteReader(CommandBehavior.SequentialAccess ) reader.Read() retval = reader.GetBytes(0, 0, outbyte, 0, bufferSize) ms.Write(outbyte, 0, retval) ms.Seek(0, See
-
- XMLWriter bug or pebcak?
by Simon Haynes
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I'm not sure whether I'm doing something wrong, but I'm using the XMLWriter class to save a few items to an file and when I view the saved file in Wordpad afterwards I can see random chinese pictogram characters, some of them in the actual tags themselves. I'm using the class like this: Using Writer As XmlWriter = XmlWriter.Create(XMLFileWithPath, XMLFile) Try Writer.WriteStartElement("
-
- SQL Query
by CollegeSeniorProjectNeedsHelp
- 14 Replies
- Last post
by Graham
- I am trying to add a query to my TableAdapter Fill. I am wanting to filter the results based on 3 items that are stored in passed variables. From the documentation that I have, the SQL Select statement should be...
SELECT item1, item2
FROM table
WHERE ( filter1=@first and filter2=@second and filter3=@third )
however, whenever I try to do this (or even try to do just a single pass