16,916 Topics

Member Avatar for
Member Avatar for chintan_1671

I want to create a WIN32 API in C#. I was looking as to what would be the best option to create a new project for WIN32 API in C#. I saw that in C++ in Visual Studio, there is one option to create MFC Application but not in C#. …

Member Avatar for chintan_1671
0
174
Member Avatar for adams161

hi, I have the line of code: [code=vb.net] xlWorkBook = xlApp.Workbooks.Open("c:\mydocs\full_info.xlsm") [/code] my problem is i want to load the file without a full path, "full_info.xlsm", but i can't seem to find the right place to put it. i have the program name directory which contains folder 'bin' 'myproject' 'obj' …

Member Avatar for kvprajapati
0
125
Member Avatar for CallumP93

Hi All, I am currently making a server monitoring application that pings the server to check its uplink, so far it creates all the picture boxes and labels for each server, and then pings the server, although I have a picture that I want to change dependant on the result. …

Member Avatar for CallumP93
0
229
Member Avatar for judithSampathwa

hi, i have a problem in login in to the MS SQL server 2008, i installed the MS SQL with the authentivcation mode as Mixed mode and and for the SQL server administrator i added the current user and for the password i gave a different password, which is not …

Member Avatar for judithSampathwa
0
594
Member Avatar for krishnisilva

hi there, i have a question in connection my application to ms sql 2008. i wrote a desktop application in visual studio 2008 in the C# language. and i have installed the MS SQl 2008 DBMS software. and when i try to connect to the MS SQL in Mixed mode …

Member Avatar for buddylee17
0
116
Member Avatar for a1a4a

[B]Hello all it's my first question[/B] [B]I am new to database with visual basic .... I am working on a application form that allow users to register log in and get a profile page .. the problem is i need a code of leting me printing data from the databse …

Member Avatar for AndreRet
0
131
Member Avatar for mca.narender

Hi, I am developing a window application that uses webservice for database transcation. On other system its work file and debug successfully, i am able to step in webservice function. One thing that i want tell you this web service i deploy on visual studio's local webserver for testing. Only …

0
63
Member Avatar for dreamer_lek91

there are quite i few data that are required to update in one time... And the default setting for a list box is that u need to update once at a time? Can any1 plz teach me how to select 2 or more item in the list box and update …

Member Avatar for AndreRet
0
149
Member Avatar for lttleastig

Hello I want to open a program and press the START button in that program and it has to run on a server so have to use remote desktop any ideas on how i could approach this? Thanks, Phi7iP

Member Avatar for AndreRet
0
134
Member Avatar for neosonic

Hey all, I have a picture box, and I want to detect whether the ctrl key is being pressed. Since I want to simulate... ctrl and left click for multiple selections. what I have done: 1. set beingpressed as boolean 2. in keyDown event, I set beingpressed to true 3. …

Member Avatar for AndreRet
0
746
Member Avatar for abelingaw

Ok i have this form used for registering user for my program (User and Admin type) When i run it, i get an error that says "Invalid Property Value" This is my code for my GetUsers function called on my Form_Load event [CODE] Public Sub GetUsers() ' On Error GoTo …

Member Avatar for AndreRet
0
145
Member Avatar for shizu

Hi all.. I am using windows XP with vision studio C++ 6.0.. my software is using CAsyncSocket communication with TCP/IP.. during sending and receiving signal / data.. my software always face communication cannot delivered to server.. sometimes OK..sometimes not.. I called CAsyncSocket::Send(...) function to send data.. sometimes able to send, …

0
82
Member Avatar for b1izzard

Hi all, I want to compile the cobol program with a click of a button in toolbar provided if its compiler location and command to compile is specified. e.g [CODE] c:\cob>cobol hello.cob 'command line equivalent [/CODE] VB equivalent: [CODE] Dim command As String command = "cd " & app_path 'app_path="c:\cob" …

Member Avatar for b1izzard
0
183
Member Avatar for kdcorp87

i convert some opengl code from visual c++ 2006 to visual c++ 2010 i mean visual studio framework. problem is in visual studio 10 they r running but mainloop is not working, i mean windows r supposed to wait for key input but it shows and gone at instant. no …

Member Avatar for Fbody
0
409
Member Avatar for divakar.it

Hi, Me again. Now the requirement is slightly changed now. Requiremetn: When I enter a employee id in a text box and click "Show calender", the code will run a query to fetch Allocation date and release date of the employee for a project and the dates between Allocation date …

Member Avatar for AndreRet
0
435
Member Avatar for AMetnik

Hey, im trying to get some information out of my database, which i have tableadapter and dataset. Both created with the VS2010. I have made 4 queries in the tableadapter taking different parameters, to make a WHERE clause in the sql sentence. But it simply doesnt work and i dont …

Member Avatar for AMetnik
0
111
Member Avatar for anbusatish82

Hi ALL, Am using the below vbs script to get the full path or absolute path, from the current directory path. The current directory path is "D:\JAMER\TestCases\Hammy\TC2_Enabled_both" The below script is used to get the full path of the current working directory to the file ScriptingFilePath.txt for later references, [code] …

Member Avatar for AndreRet
0
199
Member Avatar for dreamer_lek91

Hi I have this form which works well when it is in list box. but when I change the list box to combo box, the form does not works and I will be stuck at "record does not exist" even though i choose the record from the combo box. this …

Member Avatar for AndreRet
0
713
Member Avatar for divakar.it

Hi, I have a requirement that when a user click on a record in the datagrid (the record holds Emp_id and his/her project allocation date and release date), then the dates from allocation date to release date in monthview should display bold. I have written the code but i dont …

Member Avatar for AndreRet
0
484
Member Avatar for Raja Paul

Hi, I have a question regarding VB and VC++ connectivity. Can a program, written in C++/VC++, take input from a module written in VB? Someone please help me.....

Member Avatar for AndreRet
0
47
Member Avatar for Camway

This may seems noobish but 3 questions I absolutely cannot figure out. I'm not sure how relevant it is but I'm using Microsoft Visual C# 2010 Express. 1) How do I have a button, within a form, load another form within the same program. 2) How do you do the …

Member Avatar for LesF
0
119
Member Avatar for claudiordgz

Hi guys, I want to build a DLL to access classes and functions from a Visual Basic program This right here is my class [CODE] class SimpleDevice : public IHaptikDevice { private: // Callback Related PVOID object; PVOID method; UINT32 timerId; // State HaptikData data; HaptikUserData userdata; public: static Vector3 …

Member Avatar for claudiordgz
0
146
Member Avatar for gouki2005

I am using sql server 2008 but i just want create reports usin sql statements just sql without any other application like Visual studio is posible??

Member Avatar for buddylee17
0
103
Member Avatar for Mike Bishop

I have an sql table called Stock with two fields called StockID and StockCode. I want the user to select the stockcode from a combo which in turn populates the stockid for that item into a lable on my form. I have already populated the stockcode into the combo but …

Member Avatar for crapulency
0
171
Member Avatar for junjun61991

How to create a data report,were did i click and what kind of components?[B][COLOR="Red"][/COLOR][/B]

Member Avatar for AndreRet
0
83
Member Avatar for Sara Tech

I work with Visual basic 2010 express and Sql server 2008 Express I established Person and Specialist tables data base .I want to make Insert /update/ delete Here object declarations in a module : [CODE] Public str As String 'string sqlcommand Public con As New SqlConnection("Data source =Sara\SQLEXPRESS ; initial …

Member Avatar for pavankumard2079
0
174
Member Avatar for BasicGamer

I was wondering, how exactly would I go about doing that. I want assign the arrow keys to command buttons. For Example: Command1 would be the UP arrow key, command2 would be the LEFT arrow key, command3 would be the RIGHT arrow key, command4 would be the DOWN arrow key.

Member Avatar for AndreRet
0
870
Member Avatar for SoulReaper1680

Hey, whenever I compile the code below the program compiles and runs but after a while I get the following error: System.IndexOutOfRangeException was unhandled Index was outside the bounds of the array. Also, when compiling I get the following: A first chance exception of type 'System.IndexOutOfRangeException' occurred in array_mult.exe The …

Member Avatar for AndreRet
0
167
Member Avatar for divakar.it

Hi Andreret, As per the dicussion today on my previous thread, i am creating a new thread for the function to convert the numbers on the grid to a date. I am waiting for your code. Kindly share once you done tomorrow or the day next

Member Avatar for AndreRet
0
130
Member Avatar for kayfar

can anyone tell me how to use if else statement using c# and MS Access database..this is my code.. [CODE] protected void Button2_Click(object sender, EventArgs e) { string path = Server.MapPath("App_Data\\dnis2010.mdb"); OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path); //con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Users\\keOn_kAyFar\\Documents\\Visual Studio 2008\\WebSites\\DNIS\\App_Data\\dnis2010.mdb;Persist Security Info=False"; conn.Open(); string str …

Member Avatar for crishjeny
0
317
Member Avatar for Kieran Y5

Hi, Is it possible to write and compile a cross-platform C++ Program in Visual Studio (C++) Express or Professional? I only ask this question (before starting on a big project) because I would like to support other platforms without changing my coding environment, if you get what I mean. Kieran …

Member Avatar for Kieran Y5
0
190
Member Avatar for Sodabread

I'm working on an application that has a slew of database connections throughout. The application is being developed on a system which is 100% disconnected from the server on which it will run. Every time I open a form object or attempt to compile, I have to wait n seconds …

Member Avatar for AndreRet
0
132
Member Avatar for cavern

hello everyone, i need a tips about "search coding" im using adodc connection: [CODE] Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\sistempengurusanrumahsewa.mdb;Persist Security Info=False" Adodc1.RecordSource = "Select * from Owner" Set DataGrid1.DataSource = Adodc1 [/CODE] im trying to make "search" button to search a Name in my datagrid1. can anyone …

Member Avatar for AndreRet
0
102
Member Avatar for divakar.it

Hi, I am developing a new Application and am getting the below error Error Description: When I click the record in DataGrid, then the values should be populated from DataGrid columns to respective Text boxes. However if i click in the datagrid when there is no record then there should …

Member Avatar for AndreRet
0
262
Member Avatar for ruben_benz

Hi! I'm new member here. I am graduating student and I need help about my thesis project. I was plan for a flood detector and monitoring. I want to monitor the level of water. Can u help me what I need for that thesis. Thanks and advance..

Member Avatar for AndreRet
0
42
Member Avatar for gahhon

i'm a training programmer.. and im using Microsoft Visual Studio 6.0; and im trying to execute some program with a complete code... it is delay to display out and i tried the same code as others computer.. it is working smoothly.. what should i do can remove the delaying in …

Member Avatar for gahhon
0
115
Member Avatar for ramar04

can anyone help me what code will i use to have edit,update and delete in the gridview... because im newbie using visual studio 2008 (c#) i already had a database on a grid view when i highlighted the grid view box the edit button will be enabled then function properly …

Member Avatar for hirenpatel53
0
41
Member Avatar for MooGeek

I am into VB.Net to VB6 since vb6 is already phasing out. but I grew up with this language and now they're killing it!! and Actionscript 2 also to AS3. c'mon!! T_______T

0
42
Member Avatar for pardeep3dec

Dear Experts, I have no idea how to send big endian format data on server using winsock in vb 6.0 e.g. i have to send 2 bytes of data 0000001000001011 in big endial format. winsock1.SendData ??????? Best Regards, pardeep

0
88
Member Avatar for pardeep3dec

Dear Experts, good morning, I am working on a project. In which i am unable to send data on a particular ip in 8 bits unsigned integer kindly guide me. I have to send st first 2 bits unsigned integer then 8 bits unsigned integer. e.g. i have to send …

Member Avatar for pardeep3dec
0
538
Member Avatar for inahrun

hi! having issue with duration time in crystal report. i want to sum duration time 0:48 1:05 2:00 0:45 I want to sum the time in crystal report.The sum of the time should be 4:38 not 3:98. Please help.Thanks in advance

Member Avatar for AndreRet
0
140
Member Avatar for TheDocterd

Hi there I have a problem. My code works perfect, but now I want to, instead of displaying multiple sheets, display all data in one sheet. Below is my code I used: [ICODE] Private Sub Picture2_Click() Screen.MousePointer = vbHourglass Dim tempAss As String Dim xlApp As Excel.Application Dim wb As …

Member Avatar for AndreRet
0
145
Member Avatar for Nirvin M

I am developing a science application on VB.NET. I want the controls to be edited, resized, and drag & dropped (like in Visual Studio IDE) by the user during runtime. How to achieve this functionality? Please help...

Member Avatar for Netcode
0
106
Member Avatar for cavern

hello everyone i need help about msgbox "Insufficient Data" coding. below is my coding: [CODE]Private Sub cmdSave_Click() On Error Resume Next Adodc1.Recordset.AddNew Adodc1.Recordset!Dateregistration = txtDate.Text Adodc1.Recordset!Title = cmbTitle.Text Adodc1.Recordset!Name = txtName.Text Adodc1.Recordset!Ic = txtIc.Text Adodc1.Recordset!Email = txtEmail.Text Adodc1.Recordset!Phonenumber = txtPhone.Text Adodc1.Recordset!Address = txtAddress.Text Adodc1.Recordset!Address1 = txtAddress1.Text Adodc1.Recordset!Residential = cmbResidential.Text Adodc1.Recordset!Gender …

Member Avatar for cavern
0
207
Member Avatar for xtianenikkian

[CODE]Dim MyTime As Date, DataTime As Date MyTime = Format(Now, "hh:mm:ss") DataTime = 'Get the time from your database here If MyTime > DataTime Then ' Code to Open Door Else Code To Close Door End IF[/CODE] im having a hard time with SQL, please help with the codes of …

Member Avatar for AndreRet
0
136
Member Avatar for mca.narender

what is msvcrt_x64_vc8.lib and what is ther role of this file in visual studio and how can we add and get this lib file. I am converting 32 bit application into 64 bit. Is this file help me or not? Thanks

Member Avatar for Ancient Dragon
0
106
Member Avatar for colmar

Is it possible to store photographs within a database made with the visual data manager?

Member Avatar for AndreRet
0
114
Member Avatar for prvnkmr194

Hi all of Daniweb user............... I want to create a Online Airlince reservation system my problem is that what are the should a airlince system sould have. Still I did't start the project from where i have to start, any web which give detail of that........... Any help from any …

Member Avatar for catherine sea
0
104
Member Avatar for jtaylor1120

This is for a challenge I must do. It is two forms. I have it almost done, but my second form is not giving me a total. I can't figure it out. Thanks in advance!! Here's the code: Main form 1 [code] Public Class MainForm1 Private Sub MainForm1_Load(ByVal sender As …

Member Avatar for manshipboy
0
2K
Member Avatar for tallyhop

I need to take the username entered by the user and compare it to the array to locate its position in the array then compare the password and pin entered by the user. I followed tutorials on how to write the linear search function(I do have to use a linear …

Member Avatar for tallyhop
0
163

The End.