Basic Connetivity Code And Description ?
Jan 24, 2009i need the basic connetivity code and description in vb .net
View 1 Repliesi need the basic connetivity code and description in vb .net
View 1 RepliesWe have a Visual Basic Compilation Error at the web site located at [URL] Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
[Code]...
Where do you put the "main code" for lack of a better description? I can find all sorts of places to put code based on events like button clicks or forms loading. However, I can't seem to find a place to run code without an event (just idling).Basically I'm looking to monitor a file and call a sub when it changes. I can monitor the file fine based on the size but I can't figure out where to put code to call a sub when that changes. Everything seems based on user actions but that doesn't work in this case.
View 4 RepliesSimple Code lookup to get Description I have a static list of Street Type Abbreviations and their associated Street Type Descriptions: RD to Road. I have the complete list needed. There are 37 elements in the list - 37 Street Type Abbreviations with their associated Descriptions. The lookup will only happen once. The input lookup field is in a single field: stType. Not trying to get fancy. but what is the best approach? Dictionary, List, two dimensional array, etc. Started with Dictionary but the .Add was getting redundant. Two dimensional array let me initialize the values, but searching an old school loop.
View 1 RepliesHow do you extract source code from a VB.NET .EXE file?
View 3 RepliesI have this code in c:
void Back()
for(i=1;i<=n;i++)
cin>>a[i]; 'display vector a[i] a[i] is a vector with 10elements
while(k>0) 'while k is greater than 0
[Code]...
I'm building an c# app that is designed to replicate and enhance the functionality of an VB6 app developed many years ago. My problem is that one module in the old app does some realy complicated things and trying to replicate this starting from specs would be a big pain for me. Even if this sounds like the best idea.
My question is : is there a way i could keep the old VB module and integrate it into the c# app, so that i wouldn't have to rewrite everything ?
I am looking for some information about creating a XML file.
It seems that there are several ways to do that. And I am a little bit confused.
Please help me with
1) Creating/Saving a file
2) Namespaces which will be used
3) Reading/Processing a XML file
4) Creating a node, etc
5) Record data to a XML file
Launch a Quadratic Equation Mathematics Machine.The machine is to take input from the user in respect tovalues for a, b and c
View 2 Replieshowever there is a portion in this code that can be simplified more (the if orelse statements). I know it has something to do with a collections class or an array, but I'm stumped on how to change it.
Function GetLastName(ByVal accountName As String) As String
Dim lastName As
Dim stringArray As Array = accountName.Split(" ")
[code].....
Say I want to distribute my Visual BASIC program, but I don't want people who download it to be able to look at the Visual BASIC code. How would
View 3 Repliesim making a friend adder for teenspot and this is what i have. basically you click a button and it adds the person selected on the list, then you have to click it again to add the next one. the thing is i need to know how to loops this so it just keeps moving down the list adding people automatically
[Code]...
ive tried multiple times with do...loop and for..next and all that kinda stuff, but i still havent figured it out. what it does is, it only runs through the add me pages and never clicks confirm which is the second part. im kinda new to vb
I have an old application in BASIC. It still runs under Windows ME. It no longer works under XP, so I was looking at recoding the applciation. I started coding it in VBA, which I have used for Excel macros for years.
We are looking at getting a new computer for kids to use for schoolwork, etc. I also want the kids to learn programming and recoding my old BASIC application is a good place to start. A new computer we were considering has MS Works, but I suspect I will need MS Office (at least Excel) to get VBA. There are multiple versions of Office 2007 (Home & School, Small Business, Pro), so I looked into the Microsoft website to see if I could find out what version of Office I need to get to have VBA. What I found is that VBA seems to be going away in favor of VSTA and VSTO.
Is VBA truely going away? Or is it still going to be a part of Excel for wrting macros? If VBA is part of Excel, is it available in all versions of Office? If VBA is going away, what is recommended for recoding my old BASIC application?
The application involves display of a screen full of data with color coding and has several actions for updating those data.It does not involve any graphics or animation. In the old BASIC application all the system data and runtime data are in program variables.
The actions to be performed are selected by number from menus.In creating the application in VBA, I envisioned primary data display on a main form, which would also have buttons to invoke dialog panels to perform the various updating actions.I have the system data that are not changed when the application is run in one Excel worksheet and the runtime data on another worksheet.
I have a Vista O.S., but I want my program to change the Ip address on mutiple O.S. with one click of a button or possibly on a timer to switch ip addresses every few minutes. How would I do this in VB 2008?
View 4 Repliesi had 13 years old and i need to know how to compile my programs to p-code in visual basic 2005.net,
View 2 RepliesI�ve tried a verity of different things but I can�t seem to find something that works so I thought I would Ask here, if This is the wrong place then Sorry If you could point me to the correct place the I would Post there. Now I have this JavaScript code that I want to get working in a VB.Net Client side application?
function send_request() {
if (window.XMLHttpRequest) { // Mozilla, Safari, ...
http_request = new XMLHttpRequest();
[code]....
I am trying to migrate a source code from BASIC to VB.NET 2010
Dim obj(4096)
Dim strng As String
obj$ = string$ + ".obj" -> Error: Value of type 'String' cannot be converted to '1-dimensional array of Object'I can get away with this in VB6 but i can't in VB.NET.I can't convert obj using CStr either. ToString won't work because it work on the left side of an assignment.
Try
Dim sr As New IO.StreamReader(Mapfile & ".txt")
'Dim intValue As String = ""
[code].....
some idea to how to run VB project using Java.
View 3 RepliesI recently downloaded Visual Basic Web Developer, Visual C# 2010 Express, and Visual C++ 2010 Express asI intend to learn ASP.NET, C#, and C++ after I have learned more about VB.NET (wish me luck, haha.)I am creating a text file with all of my registration codes, but I did not keep my registration code for Visual Basic (neither in records norn email.) I have tried re-clicking the 'Register Product' button, but I just get a message saying that I havealready obtained a key. Is there someplace I can go within the program to view my code?
View 5 Replies<html>
< body>
< h1>My First Heading</h1>
< p>My first paragraph.</p>
< /body>
< /html>
if Possible to Use HTML Code like above in Visual Basic 2010 in WPF?
I would like to either generate VB Code from UML or vice versa UML from Code. Does anyone know some UML tools for VB6 or VB.Net that can do this?Is it possible with Visual Studio 2010?
View 1 RepliesBuild calculator using visual basic 2008
View 1 RepliesI have a directory with multiple sub directories that contain .doc files. Example:
[Code]...
In my code below, I am trying to display in a list box all of the files that end with extension '.doc' that are in sub directories of C:Users medinaDocuments estenviromentReleased So for example, I have
[Code]...
I downloaded some visual basic 2008 Source Code from a site and when i edit it or delete something it still shows up in program when debuging and playing the program,even when i delete it in code it still shows up how can i stop this
View 10 Replieshow to merge records in ms access 2007 in just a click away??i need visual basic code for merging files.
View 6 RepliesI am loading a table from access in my form while clicking on a "load table"button:
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles btnLoadtable.Click
Me.WoodsheetsTableAdapter.Fill(Me.WoodshopDataSet.woodsheets)
End Sub
The binding navigator should not be visible so I set the property "Visible" to "No"...
What is the code to include for another button called "Next" to use the functionality which is normally in the bindingnavigator to move to the next item in that table?
I have read a few chapters, and researched a few websites but none of which fulfil my question, which is where should I put this If statement
Public LoginName As String
Public Password As String
LoginName = txtUserName.Text
Password = txtPassword.Text
[Code]...
The idea is once the user has finished inputting text into both text-boxes the image on the button changes from a no-go to a green-submit button but unsure what declaration it would go under and which element. I have tried several form elements and declarations but not having the desired effect that I would like
Is there a way to code in BASIC a speedhack like that found in Cheat Engine? It changes the speed of a certain process or window. Functions like timeGetTime, queryPerformanceCounter..
View 6 RepliesI wish to add a progress bar in code. I have a sample here but with the "Cursor.Current = Cursors.WaitCursor" to notify the user that it running.. however a progress bar maybe can make it more noticeble. how can i do that.
Private
Sub CmdOK_Click(ByVal
sender As System.Object,
[code]....