-
- How do i check if a toolstrip button dropdownmenu item exists ?
by appolospb
- 4 Replies
- Last post
by appolospb
- My program has a toolstrip menu button that is populated with dropdown menuitems dynamically at runtime. I have noticed that sometimes duplicate menuitems with the same name can appear. I need to get some code to check if a duplicate menuitem of the same name exists before the program attempts to create another menuitem. Below is some test code that i have been using to try and solve the problem.
-
- VB2005 Issues
by dbasnett
- 12 Replies
- Last post
by kleinma
- A couple of things that have me at wits end. I have an application that has the following problems / concerns: 1. When my application is running and the system attempts shutdown / restart / logoff my app closes, but the system doesn't perform the action. When I look at the Windows Task Manager I see that a large number of the normally running task have been killed as expected. I have tried my app
-
- DES Encryption Problem
by Brian_W
- 4 Replies
- Last post
by GreatDane
- Hi All,
I have inherited an old project and this has some data that is encrypted with (I'm told DES), not 3DES / triple DES.
As part of the project there is a utility which no one claims much knowledge off and I don't have source for or know which language was dev'ed in but the utility still works --- basically it allows a string to be encrypted for use later.
For example usin
-
- WebBrowser source code
by brijones
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I am attempting to try and make an automated HTML bot, for various reasons. Basically, it's to automate a HTML MMO.
To do this I've setup my form with the WebBrowser docked to the bottom of the form, and a text box docked at the top.
Now, the process I have decided for this, is in DocumentComplete, run the command TextBox.text = WebBrowser. (something or other). How can I get the tex
-
- Generating a Unique String
by McWhirter
- 11 Replies
- Last post
by McWhirter
- I have a source text file in the following format (irrelevant fields removed)
CODE,DESC,COLOR,SIZE 1234,FRED,BLACK,8 1234,FRED,BLACK,10 1234,FRED,BLACK/WHITE,8 1234,FRED,BLACK/WHITE,10 1234,FRED,BLACK/BLACK,8 1234,FRED,BLACK/BLACK,10 1234,FRED,BLACK/BROWN,8 1234,FRED,BLACK/BROWN,10 1234,FRED,BLACK/BLUE,8 1234,FRED,BLACK/BLUE,10
I need to create a unique 3 character code, for each of the BLAC
-
- Automatic generation of variables
by TheEnd50
- 2 Replies
- Last post
by TheEnd50
- Hello,
I've a question about variables, I want to generate my vars automatically in a for-next loop. The problem is that the name of the variable should be different every time. I've a var who keeps track of how many times the loop is run, so all I need is a method how I can make a variable-name like this one: varExample1, varExample2, ... . Maybe you are wondering why I want this, so here
-
- Excel OLEDB Data Load Error
by rSchild
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I have an Excel2003 Workbook (TT.XLS) which has a Worksheet named ¡°CRIS_DATA¡±. The Worksheet contains ¡°TEST¡± in cell A1 and A2 through A11 are filled with the numbers 1 through 10.
I¡¯m using OLEDB to load it in to a Typed DataSet (TDS_DATA) in a VB2005 project. The DataSet contains 1 table (TEST_DATA) and a single column (TD_TEST)
My connection string (ExcelConnection) is "Dat
-
- Windows and Power Keys
by Kyle Hudson
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hi, We are developing a iTV (Internet TV) application, the software we are developing is gonna be shipped on a custom media player using XPe (CE Shell). We need to disable all power and Window keys within the application. The application is being developed in VS 2008, VB.NET. Any help will be helpful. Thanks, Kyle Hudson MCSE+I (Windows 2003) MCSA MCPD CCNA CCNP
-
- instantiating new class
by meriano
- 4 Replies
- Last post
by nobugz
- Good morning all ~ I am trying to dimension a reference to of one of my classes but it will only work when I declare it as a new instance of the class rather than a reference to the original class Public Class Form1 Friend WithEvents sdlAcq as Acquire Private Sub Form1_Load(ByVal s as System.Object, ByVal e As System.EventArgs) Handles MyBase.Load sdlAcq = New Acquire sdlAcq.propertySybc = Me sdl
-
- visual basic form veiw
by jack.a
- 2 Replies
- Last post
by jack.a
- Hi
I have 2005 visual basic express edition.
Here is what I do. I make a project and make it slightly then save it
But then i come back tomorow and it is in a completely different veiw, Its in code!
And so I need to find a way to make it a form again
Could you please help me!
Thanks Alot!
JACK
-
- How to move your form/window without the windows titlebar & RESIZE
by James883
- 8 Replies
- Last post
by ~DigBoy~
- Hi,
does anyone no how to drag or move a window or a form without having a titlebar. Is there some sort of code for an object
I have made my own titlebar using a panel and my on custom background image. But i cant drag or move the window because i set the BorderStyle to "none" but i want it "none" but still move the form/window.
-
- MSXML
by swingme
- 1 Replies
- Last post
by James A. Gayhart
- Hallo, I have installed MSXML4.0 and using VB6. But i don't get the Library MSXML in the Object-Browser displayed, so that i can add interfaces to the project. How will i get it displayed Or do i have to install or configure anything so that it works. Please help me. regards swingme
-
- How to play a voice and how to record the reply voice from a mobile using vb
by Varughese
- 1 Replies
- Last post
by rkimble
- Dear Friends,
One of our IVR services makes an outbound call to a customer, with a voice
dedication. The call receiver will receive the voice dedication on his mobile phone. When he listen the voice dedication, at the same time, he will give the voice reply through the mobile phone.
So we want to play the sound to a mobile and also we want to record the voice reply fro
-
- Soap and session variable
by centech
- 5 Replies
- Last post
by centech
- I am trying to set up a
session variable when called from SOAP
--------------------------- Windows Script Host --------------------------- Error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at valutraknight.RunJob(String user1, String user2, String user3, S
-
- Capturing output from command line
by The Godfaza
- 14 Replies
- Last post
by rkimble
- I am writing a ping program where the user enters an IP address in the program and can initiate a ping to the address. I want to be able to capture the command line output and send it to a TextBox on the form in real time. I have searched around and found this.
Quote
I've done this using VB.NET by creating a Process and attaching a StreamReader to the StandardOutput stream of th
-
- how create vb.net application (webapplication ) on linux
by irvendeep
- 2 Replies
- Last post
by Peter Ritchie
- hi friends
now days i can use linux 3(red hat) on that i have oracle 10g .i want create small web site using front end vb.net
and backend oracle 10g.please tell me which rpm is use for linux.(to develop .net application)
if any person know please tell me as soon as possible
-
- Install Visual Studio 6.0 with VS2003 and VS2005 Already Installed?
by dgolds
- 3 Replies
- Last post
by dgolds
- Can I install Visual Studio 6.0 on a box with VS2003 and/or VS2005 already installed without any ill effects I tried this on Vista and it gave me endless headaches, but I'm wondering if I can do this on an XP or Windows Server 2003 computer.
Thanks,
-Dave
-
- Special type of ListBox?
by RyanB88
- 5 Replies
- Last post
by RyanB88
- I need a multi-columed list box where the entire row is one item
though, kind of like the listbox that the IDE uses for build error
listing. Is their such a control, or property for the listbox
control
-
- Resizing forms
by Zeldacat
- 2 Replies
- Last post
by Zeldacat
- I am trying to resize a form while the app is running. I have a form with a textbox and a picturebox. When the picturebox is displayed it is larger than the textbox. How can i change the size of a form using a click event
Thanks
Zeldacat
-
- Looping Problem
by C McHale
- 14 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- I am running a loop that calculates information on stocks. It is set up a little bit like this:
- Run sql to read a starting row for stock data depending on what he input date is
- the program then loops for a certain number of days performing calculations and comparisons compared to that starting date. When the desired information is found, it starts on the next date and continues to run.
-
- Loop to read/update class atributes
by Alba Marina L.A.
- 1 Replies
- Last post
by ArranNyc
- Hi,
I have a class with some properties ( name, surname, phone, address... ..) and I also have a form with some controls(textbox) with the same name as the class' properties and I was wondering if instead of updating the properties by typing something like myclass.name.set (name.text ), myclass.surname.set(surname.text) (if the class has a lot of properties it could be quite boring) I could d
-
- Can text symbols break my code???
by DD_Helmetman
- 6 Replies
- Last post
by DD_Helmetman
- Hi
This is the code that I use to read data out of a text file and send it to the IP Addresses in "myArray".
For i As Integer = 1 To myArray.Length - 1
Try
Dim tcpClient As New TcpClient(myArray(i), 2112)
Dim ns As NetworkStream = tcpClient.GetStream()
Dim fs As FileStream = File.Open("C:\test.txt", FileMode.Open)
Dim data As Integer =
-
- Copy from HTML to Excel
by zakkar
- 13 Replies
- Last post
by zakkar
- Hi , I am trying ,using VB 2005 ,to read an html file (the Html as it is) copy it in the clipboard and using the pastespecial so i can write it in Excel 2003. If we go manually we do this ,For eg I press the select all command in a Browser and press the paste special in Excel (choosing the HTML type) then this is the format I want for my xls. The problem is that I want to do this in code and the u
-
- How to retrieve the values of the common file properties?
by Srihari85
- 5 Replies
- Last post
by Srihari
- How do you programmatically access this information from .NET. I looked at the System.IO.FileXXX classes and could not find a way to access the values of these common file properties. How do you get the total pages of the a document. Any help would be greatly appreciated! Thanks.
-
- exec a vb.net command in form
by zwebend
- 2 Replies
- Last post
by ScubaSteve20001
- how i can autorun a command. example:
Code Snippet
for i as integer=1 to 10
dim t as string="Textbox"
t=t+cstr(i)+".Text = Name"+cstr(i)
a.exec(t)
next
how i must writer "a" object do show auto 10 textbox have name textbox1...textbox10
in my form
please help me soon!