-
- VB 6 help
by SteveMargolis
- 1 Replies
- Last post
by Matthew Gertz MS
- Hi. I am 10 and I am trying to write a VB6 program and I am having problems. I want to have a form with two text windows, one on the top and one on the bottom of the form. I want to type something in the top window, and have it appear in the bottom window IN COLOR. I want to use IF statements to change the colors. For example, when I type an "a", I would want it to come out blue in the b
-
- Control Array
by KChris
- 6 Replies
- Last post
by KChris
- Help Needed:
After creating Contol array in a frame. I cannt call the objects in that frame. it gives me an error on Red Line : If TypeOf (f.Controls("TextBox_" & i.ToString)) Is TextBox Then
Error Message is as described here:
An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll
Additional information: Cast from
-
- Visual Basic 2003. Capture output from external exe
by Justin W
- 1 Replies
- Last post
by Dick Donny
- Hi
I have a commandline utility. I want to capture the output from within my VB program.
The utility can be run from the command line like:
util.exe /Params
and it outputs to the console.
I would like to be able to call this from my VB code and capture the output into my application.
Is this possible
Many thanks
Justin Wyllie
-
- ADODB Command
by Tim8w
- 4 Replies
- Last post
by Tim8w
- I have an ADODB command variable that I would like to reuse. The problem is that whatever I try when I assign the .ActiveConnection variable all the old Parameters return. It does not matter whether I set the .ActiveConnection = Nothing or cmd = Nothing for that matter. As soon as I set .ActiveConnection value to my connection, the former Parameters return... Any ideas
Code Sni
-
- String manipulation problem.
by OM
- 6 Replies
- Last post
by OM
- I'm trying to code for an Excel spreadsheet.
Very new to VBA.
I want to replace all comma characters with a newline character.
And then get rid of all whitespaces.
So far, I've got this:
Worksheets("Summary").Cells(i - 4, 1).Value = Trim(Replace(StrConv(Worksheets("SalesHistory.sample").Cells(i, 3).Value, vbProperCase), ",", Chr(10)))
-
- Create Outlook advanced find in VS2003
by James Hendersen
- 2 Replies
- Last post
by James Hendersen
- Hi,
I use Visual Studio 2003.
I want to create and save an outlook advanced find (.oss file) in VB.NET.
How to do this
thanks,
James
-
- codensing form code
by Flame.e
- 2 Replies
- Last post
by Flame.e
- i remember reading somewhere that there is a code to make an extra set of the expandable plus/minus buttons in the formcode what is it
-
- Getting an error
by Afseer
- 12 Replies
- Last post
by Amr Ouf
- Hi all, I have made a setup to run the exe in some other machine. In this exe i am calling another vc++ program exe but it showed this error... File not found See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.FileNotFoundException: File not found. at Microsoft.VisualBasic.Interaction
-
- updating the application with user inputs
by NuclearIntern
- 14 Replies
- Last post
by FalconDW
- I have a ComboBox that contains 3 "default" configurations and one "custom" configuration (the program defaults to the first one when loaded). The "default configurations have set values and also lock out certain controls while the custom configuration allows full access to all the controls. What would be the most effective way of making it so that when a user enters a &qu
-
- Desktop Replacement
by robinjam
- 6 Replies
- Last post
by robinjam
- How do I replace the windows desktop with a custom form in VB.NET
-
- Using a Stored Procedure to Return A Specific Row Column Value
by BobInIndy
- 3 Replies
- Last post
by DMan1
- Using VS05 SP1 pro...
I am putting this in the IDE forum because I only use the IDE to create SQL quieries.
Here are the steops: DataSources tab, Edit DataSet With Designer, choose a table, table adapter, add query, create a new stored procedure, Select which returns a single value...
The last item says "Returns a single value (for example, Sum, Count or any other agregate function)&
-
- How to insert row in empty mdb using BindingNavigator
by dr.Digital
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hi... I need a solution for the following problem. I'm using VB.NET and have the problem with inserting data in empty MDB database. I have followed instruction of the data connection wizard and completed all steps. If there is a single record in the table, everything works, but if the table is empty it doesn't insert any row to the table. I hope that this is a sample of my stupidity, although I a
-
- Static Variable Does Not Retain Value
by TBing
- 14 Replies
- Last post
by DMan1
- I am working with VB 2005 Express Edition.
Coming from VBA, I have used static variables before with success. However, today I included Static declarations in a private non-shared event handler sub and had to discover that the static variable values were reset every time the sub was invoked. The class that contains the event handler is instantiated only once.
I read the online help (ms-help:
-
- Two Decimal Point For Double Value
by lucerias
- 6 Replies
- Last post
by Dick Donny
- How to get two decimal point value for a double value For example 231.321312321312132 = 231.32 and 231 = 231.00. Thank you.
-
- Application disappears from taskbar without any reason
by Eelko Heuvelmans
- 3 Replies
- Last post
by OneLuckyGuy
- Hi All, I'm having problemens with my VS2005 .Net2.0 VB.Net Windows forms application. When I start the application and work with it for a while it somehow disappears from the taskbar.To get the Application button back on the taskbar I use Alt+Tab to switch to the application and voila,.. the taskbar button is back. In my code and form I can't seem to find anything strange. ShowInTaskbar is set to
-
- What is behind the veil of this calculator? (experts only)
by Cesar Francisco
- 5 Replies
- Last post
by Cesar Francisco
- Searching for a good calculator, one that people might actually use on a computer, I found this one.
To me it is mind-boogling. What could be the core idea
Are there anyone who could give a hint
PractiCalc ( www.practicalc.com )
-
- Edit XML File contents
by Leedo
- 2 Replies
- Last post
by Leedo
- Hi, I am using VB 2005 and wish to open an XML file and edit a line item in it. What is the best method to do that. Please see below a snapshot of the file:
Code: < xml version= "1.0" encoding= "utf-8" standalone= "yes" > - <data> <item> My item text </item> <item> Hello world </item> </data> I want to chang
-
- Databases in .NET have me CONFUSED!?!!!
by JohnnyWing
- 5 Replies
- Last post
by Ayhan Yerli
- I'm just getting started with .NET. I downloaded the 2k8 beta and there seems to be a HUGE learning curve from vb6 that I used to use.
I'm trying to work out a program that manages a database and am so overwhelmed with so many objects, options, and parameters and what seems like a lack of documentation in the help files.
The basic thing I'm trying to do is have a listbox of people an
-
- How can I find the NameSpace for a given Assembly
by j2associates
- 2 Replies
- Last post
by j2associates
- Hello,
I need to be able to extract the NameSpace from an Assembly name. I know I can list the Resources and visually identify it but how can I get it at run time Thanks in advance for any ideas and/or suggestions!
-
- VB6 Forms in .NET 3.0 application
by Gravy
- 6 Replies
- Last post
by Alexander Jarczyk
- Hi,
I've seen a few people talk about how it is possible to extend a VB6 application with .NET forms. However, what I haven't found yet is people talking about hosting VB6 controls and forms in a .NET exe. Is this possible
The scenario I have been asked to look at is one where we want to take our existing large VB6 windows app and give it a new shell initially, ultimately convert all to .NET
-
- Visual basic.net enquiry
by greenhorn05
- 3 Replies
- Last post
by greenhorn05
- I have been learning vb.net recently through following a textbook. The book states that to use the messagebox class, I must import System.Windows.Forms to make the MessageBox class available to the compiler.
I tried open a new console application and type Imports System.Windows.Forms. However the error message prompted that there is no such statement available. The list from System don't ha
-
- SmtpClient error
by fabal
- 5 Replies
- Last post
by KevinBB
- Hi to all.
I have done a console program for send an e-mail via bat.
My program is perfect if start form the same machine where is the exe file bu if i try ti start the program by network i recive this error:
Demand for authorization of type ˇ°System.Net.Mail.SmtpPermission, System, Version= 2.0.0.0, Culture=neutral, not satisfied PublicKeyToken=b77a5c561934e089ˇ±
I had try ti set:
-
- System.IO.PathTooLongException
by hommer
- 5 Replies
- Last post
by Kim Hamilton - MSFT
- I got this exception when I tried to use vs2005 to publish my project to a network location, The error said GenerateApplicationManifest task failed.
My path as it is seen in the box is \\Stobus1\DATA\OneTouch05\. It is no where to the 248 characters limit.
On another try, I found out this has nothing to do with publish/depoy to network server, because I got the same error this time on BUILD
-
- output array to excel
by Cammyr
- 2 Replies
- Last post
by Cammyr
- I need to output an array (datarow.getchildrows) to excel.
Dim XL As Microsoft.Office.Interop.Excel.Application
Dim xlwb As Microsoft.Office.Interop.Excel.Workbook
Dim xlsheet As Microsoft.Office.Interop.Excel.Worksheet
XL = New Microsoft.Office.Interop.Excel.Application
xlwb = XL.Workbooks.Open( "C:\tryout.xls" )
xlsheet = xlwb.Worksheets(1)
XL.Visi
-
- Problem in Save detail data to database
by weoili
- 4 Replies
- Last post
by weoili
- Dear All, I have giving up of dealing with these two problems that I have been facing for the pass few days during my development.. The situation is I having a form to capture the contact information with tabs controls to separate the category of the information. I have a Dataset that have a table named tblContact. I just drag all the information to the form and drag the controls respective tab.