16,916 Topics

Member Avatar for
Member Avatar for furjaw

Visual Studio 2005 Professional Edition: My app runs fine on my development computer, but, bombs out on the 3 other computers that I installed it on (all 3 were running Windows XP Pro). It installs OK, but, upon execution, it immediately aborts with a System.InvalidOperationException. I inserted a MsgBox(" " …

Member Avatar for kvprajapati
0
417
Member Avatar for jackiejoe

I can insert into my table by the bindingnavigator and dragging textboxes straight from the DataSet entering them and saving. But I want to insert into the DataBase via code and in order to do this I have used the below code to connect. I use this code to test …

Member Avatar for samir_ibrahim
0
99
Member Avatar for g2gayan

Hello, Does any 1 knows how to add a Image button to Visual studio 2008 ? i mean is their a special pluggin to do so because i need to create some onRollOver and And OnRollOut events too ... and at last.. how to insert a swf into a c# …

Member Avatar for kvprajapati
0
78
Member Avatar for yuriythebest

Right basic question - I downloaded these source files, however there is no visual studio project file (sln) - how do I compile these in visual studio? [url]http://img146.imageshack.us/img146/5796/sourceu.jpg[/url]

Member Avatar for noey699
0
83
Member Avatar for dipankar_pr

Hi,All, I am try to develop a project where the back en database is MS access, front end is vb6 and connectivity establish by odbc. the database content multiple table. Frost table [COLOR="Green"]student[/COLOR] contain [COLOR="green"]roll, name[/COLOR] second table [COLOR="green"]marks[/COLOR] contain [COLOR="green"]roll, math, English[/COLOR] there is four text box namely txtRoll, …

Member Avatar for dipankar_pr
0
1K
Member Avatar for stryker4526

So I have a problem... according to the specification given by my lab TA, we must [QUOTE]"write a Microsoft Visual Studio console application that will calculate the following four operations over the elements of a two dimensional array (matrix) of integers: 1. Sum 2. Average 3. Max 4. Min All …

Member Avatar for Wizardsr66
0
4K
Member Avatar for songweaver

Hey guys, I am new to C# and Object Oriented Programming, I got this calculator code which was designed in Visual Studio 2008 and I am getting an error with [CODE]isZero == false[/CODE] [I]"Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement."[/I] Also …

Member Avatar for ddanbe
0
180
Member Avatar for William Byrd II

Hello. I have been working on this program for some time, and it appears that I now have only one error (1 error 4 times). I will greatly appreciate it if someone could show me how to fix this error. Here are my errors: (phonebook.cpp is at the very bottom …

Member Avatar for chary8088
0
102
Member Avatar for KSS

Hi guys, Here is my problem.. I have two computers with Win XP pro. The one has static IP and i want it to be used as a web server. I want to create a database such as Mysql and put it on the web server and using the application …

Member Avatar for vb5prgrmr
0
61
Member Avatar for babalonas

I'm trying to make a code that changes the wallpaper in visual basic express, but it errors: [CODE]Imports System.IO Imports System.Runtime.InteropServices Public Class Form1 Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByRef lpvParam As String, ByVal fuWinIni As Integer) As Long …

0
60
Member Avatar for subhaoviya

how this err.raise is working, when we are writing like Err.Raise Err.Number, Err.source, Err.Description what happends here? where the errors are get captured?, where to find the err num,source and description? thanks subha

Member Avatar for AndreRet
0
3K
Member Avatar for neriahfred

I'm developing a mobile website using vb.net but having set my tools right as I read somewhere, I've having an object reference...null error from the sqladapter line. I'm trying to authenticate by checking the db for username and password and granting or denying access asthe case maybe, here's my code, …

-1
57
Member Avatar for subhaoviya

Am referring one project for development, In that the class is sxposed as dll.. they implement one interface init. thet call interface function and creating 3 private functions in this classand make it get called from that interface function. is it possible to test this class alone? - help to …

Member Avatar for vb5prgrmr
0
100
Member Avatar for tonymuilenburg

Hi, I'm trying to loop through multiple textboxes in a C++ form using visual studio.net 2008 to set the selection start for each. The code for a single textbox is easy: [CODE] textBox1->SelectionStart = 4; [/CODE] When I try to assign textBox1 to a Control variable, and assign selection start, …

Member Avatar for tonymuilenburg
0
177
Member Avatar for makybe

Conversion Problem Formatting QBASIC to VB6 I am having real problems converting PRINT Using statements in Quickbasic to Printer.print statements in VB6. Is there a good book which outlines the method of formatting numbers and/or text in VB6 as I am on a merry goround trying to decipher M/S explanations …

Member Avatar for makybe
0
353
Member Avatar for zoner7

So I'm currently using Lazy Foo's tutorials. Here's the link: [url]http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet05e/index.php[/url] I followed all the instructions, but I'm having a couple issues. So when I choose an empty project, like the tutorials recommends, as opposed to one with a precompiled header, the C/C++ tab does not appear, and I am …

Member Avatar for thriek
0
270
Member Avatar for Galois77

Hello, I'm working on a project that involves making two dlls: one of them is in Borland C++ (file1-bc.dll), the other one is in Visual C++ (file2-vc.dll). Right now I'm prototyping and trying to make them as simple as possible and to see data being exchanged from one side to …

Member Avatar for Ancient Dragon
0
325
Member Avatar for neosonic

Hi All, I have big picture file (3508 x 4925) to be loaded into the picturebox. That picture is very detail, with the small writings all over it. I want to rescale into a A3 size which is around (1123 x 1590 pixel) to fit into my picturebox. I used …

Member Avatar for vb5prgrmr
0
322
Member Avatar for Anterko

Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user …

0
88
Member Avatar for Anterko

Hello. I have a nested GridView inside of a DataList. I need to enable the paging control of the GridView, but I have no idea where to put the code for it to work. Also I would like to create a function which will do the following: when a user …

0
84
Member Avatar for legoge

I am brand new at Visual Basic 2008 (and programming in general) and am taking an online IT course. I do not understand Visual Basic and do not know how to determine what code to write in a given situation. How do you determine what code to write?

Member Avatar for Xetwnk
0
93
Member Avatar for BC3

Ok, lets see if I can expain better, unfortunately I am somewhat of a beginner. I am using Microsoft office access 2007, using Microsoft Vista, and visual studio 2008. I am writting a program that uses a GUI to show and change a Access data base. When I first tried …

Member Avatar for BC3
0
162
Member Avatar for walmsles

Hi I have created my website in Visual Studios and it is connected to an Access database, i now need to create automatic email and login without being connected to a server... Any ideas how to create a login which is connected to the access database? Plus i need my …

0
72
Member Avatar for Ajith S Kulgod

Hi , I have created an windows setup project using Microsoft Visual Studio 2005 . I have included the uninstaller utility also . After Uninstalling the application from the uninstaller utility , the default location of the windows setup project is not deleting . Can you give a solution such …

0
60
Member Avatar for jackl007

Hi! I have a program that use a data base for save information about store products, all is OK, but the problem starts when i protect the DB with a password. I put the password in this way: [CODE]Usar una contraseña para cifrar una base de datos de Office Access …

Member Avatar for jackl007
0
149
Member Avatar for KSS

Hi.. i'm using a winsock control to transfer files between two computers which are in the same network..(LAN) and it works fine. Is there a way to transfer a file to another computer that it is not in my network? For example from my computer to a friend's computer.. Any …

Member Avatar for AndreRet
0
466
Member Avatar for C-SHARP

[code] OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\Developers\My Documents\Visual Studio 2005\Projects\ITDivision\ITDivision\ITDivision.mdb"); { string referenceNo = referenceNoTextBox.Text.ToString(); string institutionName = institutionNameTextBox.Text.ToString(); string fullName = fullNameTextBox.Text.ToString(); string contacts = contactsTextBox.Text.ToString(); string itemName = itemNameTextBox.Text.ToString(); string serialNumber = serialNumberTextBox.Text.ToString(); string problemInfo = problemInfoTextBox.Text.ToString(); string technicianName = technicianNameTextBox.Text.ToString(); string serviceStatus = …

Member Avatar for kvprajapati
0
142
Member Avatar for Excalibur69

Hi there I am working in Visual Studio 2005 Pro. I have created a WinForm with access to a SQL database. On the WinForm I have two listboxes, the displays DivisionCode and the other DivisionID both having the same DataSource but different DisplayMembers. They occupy the same space on the …

Member Avatar for Excalibur69
0
258
Member Avatar for zero_sequence

Hi to all, i am trying to set the logon data for crystal reports that i have created. in crystal report builder i manage to connect to mysql by the jdbc driver downloaded from the official site of mysql. [link=http://www.eakes.org/80/connecting-to-mysql-with-crystal-reports-xi/][/link] but i want to change the ip of the mysql …

0
95
Member Avatar for ameyanatu

Hello Friends I am using Microsoft Visual Studio 2005 and ms-acess 2000 to build very simple database application Here is my Code of Conncetion: [CODE]con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb") sql = "INSERT INTO emp values(@op1,@op2)" cmd = New OleDbCommand(sql, con) cmd.Parameters.AddWithValue("@op1", TextBox1.Text) cmd.Parameters.AddWithValue("@op2", TextBox2.Text) con.Open() cmd.ExecuteNonQuery() con.Close()[/CODE] This is simple …

Member Avatar for ameyanatu
0
89
Member Avatar for Diamonddrake

I have been looking for the answer for 7 hours. So a quick google isn't going to cap this one. I Am working on a programming notepad app with intellisense like Visual Studio. only I have run into a big issue. In Visual studio the little intellisense window is its …

Member Avatar for Diamonddrake
0
2K
Member Avatar for big_ch98

I keep getting that error when I open my form in which I have control that are dynamically created. ERROR 340: Control array element 0 doesn't exist

Member Avatar for billmaster
0
2K
Member Avatar for firstimer

Hi all, I am new to C# and the visual studio express environment. I have a button on this web page, when it is clicked a method assigns a new random number to a variable but I want new clicks to add numbers to what was in the variable and …

Member Avatar for firstimer
0
136
Member Avatar for lishannx

ive set up a connection string and whenever the program hits myConnection.ConnectionString, it will appear such an error : A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that …

Member Avatar for kvprajapati
0
178
Member Avatar for jamesweeks

How can a Visual Basic 6 program fit the screen. Is there a command for this and will it work for XP, Vista, and Windows 7

Member Avatar for AndreRet
0
118
Member Avatar for sowmyraj

Hii I am desigining one VB project like dis.. VB application to change the font of the textbox... use the controls list box for the fontname, check box for Effects , combo box for sixe, combo box for color, and option button for font style.... I have written the code …

Member Avatar for vb5prgrmr
0
1K
Member Avatar for kunkka17

hi,, i have problem run the asp.net application through IIS. I have made virtual directory for the application folder. when i try to 'Browse' the virtual directory, then the Error show up. 'You are not authorized to view this page' 'You might not have permission to view this directory or …

0
90
Member Avatar for abu taher

please check the attach file. here I don't understand the .mhf file. how it make or any alternative way to do this project. please any body help me.

Member Avatar for abu taher
0
185
Member Avatar for quicka_29

hello! is there any body to help me. i want to know the codes of converting number to words... pls help me to do it.

Member Avatar for dreemebird
0
300
Member Avatar for omkarwarekar
Member Avatar for CreativeCoding

In visual C#, there was this thing where you can add a settings file and refer to a setting in that settings file in your code. With that, I was able to save user settings easily. But I can't find it in C++. Is there no settings file option? If …

Member Avatar for WaltP
0
135
Member Avatar for sanbal

Even I installed asp_regiis . I am using Visual Studio 2008 v3.5 I am facing an issue while building a web project. I have added the controls in the design window as [code]<td align="left" valign="top"> <asp:DropDownList ID="ddlCategory12" runat="server" CssClass="dropDownList" AutoPostBack="true" OnSelectedIndexChanged="ddlCategory12_SelectedIndexChanged"> </asp:DropDownList> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" InitialValue="----Select----" CssClass="validator" ErrorMessage="Please Select Category" …

Member Avatar for sanbal
0
101
Member Avatar for prabooh

i want to connect an vb6 form with oracle9i so that i can insert update n delete ,what are all the ways i can connect to db , anyone help me with code , form one has four fields student name , id dept, year n college, if i click …

Member Avatar for jhai_salvador
0
86
Member Avatar for artikapri

I wanted to know if there is a function in visual studio C++ 2005, that is called on if your mouse hovers over something, and how to use it?

Member Avatar for Ancient Dragon
0
45
Member Avatar for aig3

I have created a form in which there are various values such as Name, Address, Date of Birth etc. The user is also allowed to select an image in a picture box. I want to insert these values along with the Image into database in appropriate columns. Any help is …

Member Avatar for fatihpiristine
0
411
Member Avatar for MVB

Hey guys. I'm having some issues with my Visual Studio 2008 Pro. I'm trying to compile the following code, included in the link [url]http://pastebin.com/r6WsG5r7;[/url] but, whenever I try compiling the code, I get like 5 erros: The errors are listed below. Why is it that moving certain declarations around changes …

Member Avatar for Salem
0
427
Member Avatar for Begginnerdev

Hello, I am still green to the C programming language. I am writing a multi-dimensional array program to store strings into an array. The program requires error checking to avoid overflow. I am using Visual Studio 2008. I am using a Windows O/S. The program runs fine on the first …

Member Avatar for Ancient Dragon
0
110
Member Avatar for joefaries

If I am trying to select an item from listbox1 and an item from listbox2 that need to be converted to integers what do I do? I am having trouble understanding the selectItems.property

Member Avatar for kinwang2009
0
99
Member Avatar for zango

So I have one problem and I put in the code for you to see. This is the code that i am having problems with: [code]int main (void){ FancyDateClass myDateObj(24, 2, 2008); cout << "\n\n"; cout << "The date is "; myDateObj.displayDate(); cout << "\n\n"; cout << "The month for …

Member Avatar for Ancient Dragon
0
114
Member Avatar for jockfaire

Hello, I am developing a mobile application (school project) using a Windows Mobile 6 Professional emulator. This application has a login function that prompts for a password and uses a Data Access Object(DAO) to connect to a SQLServerCE database. This database has a table called User which stores the password. …

Member Avatar for jockfaire
1
157

The End.