16,916 Topics

Member Avatar for
Member Avatar for h.liang

Hello, This is my first time posting anything here. I have learned c# before when in school. But now at work I'm trying to make a program using c# and I'm encountering a program. I am a novice, and is hoping everyone's expertise can help me. Essentially I'm developing a …

Member Avatar for kvprajapati
0
213
Member Avatar for Cliffs0fdover

Ok, I am pretty new to Visual Basic 2005. I am taking a course in it and we are creating a Department Store program right now. I pretty much have 90% of the program done, its just that when I try and move information as strings (name, province, postal code, …

Member Avatar for toko
0
142
Member Avatar for killdude69

I am helping a friend with a project in Visual Basic, it is a program that uses a SQL database. There are some rows in the database, we can review them just fine. So the SELECT quesries are fine, it is the INSERT queries that we are having problems with. …

Member Avatar for vb5prgrmr
0
179
Member Avatar for serkan sendur
Member Avatar for DevC++4.9.9.2

hello (im using c#, visual studio 2008) I am trying to get Input/Output from a command prompt like process "scrds.exe". If i try to start the process with standardInput = true, standardOutput = true, or standardError = true. The program cannot start. after research the "scrds.exe" cant start due to …

Member Avatar for streetfighter
0
369
Member Avatar for Ray Gray

We came across a very strange behavior with a code like this (this is a simplified version; it took quite a time before we were able to identify a similar problem in our code): [code] unsigned int x = 10; int a = ((int-1) * x; int b = ((int)-1) …

Member Avatar for ArkM
1
104
Member Avatar for bitki_1407

Hi All, I have created a program for calculating average of 4 numbers, however, Im getting an error as "Run Time Error 13 Type Mismatch" on the Click event of "Calculate Average" command button. The code written for the Click Event of "Calculate Average" command button goes as : Private …

Member Avatar for lordofhell
0
4K
Member Avatar for wk123

Hi, im writting a remote host program for a school project and i keep getting Run-time error '40006': Wrong protocol or connection state for the requested transaction or request here's the code for the client: [code]Private Sub cmdConnect_Click() IpAddy = txtIP.Text Win.Close Win.RemotePort = 455 Win.RemoteHost = IpAddy Win.LocalPort = …

Member Avatar for wk123
0
144
Member Avatar for gingank

Can you all help me slove this problem i using vb to get data from sql then display on Excel but while i click again the same button to display it to Excel it show run time error 91 and debug problem it [COLOR="Red"]AppExcel.ActiveWorkbook.Save[/COLOR] Below is the code please help …

0
58
Member Avatar for gingank

[B]Below is my code help me see got what error that make it got run time error . when debug it show [COLOR="Red"][B]AppExcel.ActiveWorkbook.Save[/B][/COLOR].[/B] [code=vb]Private Sub cmdPrint_Click() Dim sql As String Dim sql1 As String Dim rs As adodb.Recordset If Trim(Combo1.Text) = "ALL" Then sql = sql1 & " " ElseIf …

0
64
Member Avatar for Bikram Singh

Hi All, I am having problem regarding recordset. I am working in MS Access and VBA. I want to display records from the table(specific fields) depending upon the condition. I am very new to this and never used recordset because i am a database programmer now i have to develop. …

Member Avatar for Bikram Singh
0
101
Member Avatar for Jouni79

how about this sitsuation: =FormatNumber(Sum(Fields!TotalProductPrice.Value),2) it returns for exsample following: 1.2345. I need to replace . with , how can I do it ?

Member Avatar for QVeen72
0
91
Member Avatar for nokomoli

Hi guys, i am a problem when i doing my coding about format a number for normal number with 4 digit , i have idea which is e.g: Dim a As double a = 1/ 2946.33 ' its return is 0.00033940529 If i use format number function with 4digits, the …

Member Avatar for vb5prgrmr
0
152
Member Avatar for agrothe

I must be getting soft.... How the heck to do I programmatically add new rows to a datagrid / flexgrid or whatever grid using VBA? It's not bound to anything and I'm trying to add data on the fly. Any ideas?

Member Avatar for agrothe
0
118
Member Avatar for tonief

I have created Table in SQL server with visual studio 2005 Table name Student and table data ID,name, surname, indeks, years, I have this code in C# [CODE]protected void Button1_Click(object sender, EventArgs e) { // try //{ SqlConnection conn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=\"|DataDirectory|\\db_lab8.mdf\";Integrated Security=True;Connect Timeout=30;User Instance=True"); // ("Data Source=.\\SQLEXPRESS;AttachDbFilename=\"|DataDirectory|\\db_lab8.mdf\";Integrated Security=True;Connect …

Member Avatar for tonief
0
71
Member Avatar for devpta

Hello. I'm using Windows 2000 O/S, VB6 SP6, and Outlook 2002. I'm trying to create a new email from VB6. When outlook is already running, the program works fine, but when it's not, errors come up. I would like to allow the users to preview the email and have them …

0
81
Member Avatar for awo

I have problem with using reports (Not Crystal report) that came along with MS visual Studio (dot net) Like 1. I can not set the value of a text box from my code which is program code (at run time) 2. I can change the value of a Report parameter …

0
71
Member Avatar for smjabbar

Hi, I would like to save a barcode image in a folder by using VB code. How to write the vb code to do so. pls. reply me. thank u in advance

Member Avatar for kvprajapati
0
76
Member Avatar for limesight18
Member Avatar for vb5prgrmr
0
62
Member Avatar for Lovemore

Can someone out there provide me with notes or information on using data reports in Visual Basic 6.0

Member Avatar for choudhuryshouvi
0
1K
Member Avatar for Delija

I am making a rpg type game. I have stored values inside of an array of class via a textfile. That's all I have done so far... What I need now and have not figured out yet is how to move from one array to the next using my "character". …

Member Avatar for DanyLdon
0
119
Member Avatar for twilightprincez

hi, i need some help with my hangman game. i have the whole thing down except i don't know how to get it to draw the head if the first letter is wrong, the body if the second, etc. i'm really new at visual basic and i could really use …

Member Avatar for Jupiter 2
0
155
Member Avatar for lyardson

hi am using many third party ocx in my vb 6 project...so some times it showing "Don't Send" error... what might be the problem..?? any body faced these problem....

Member Avatar for debasisdas
0
78
Member Avatar for sengreen

Hi.. I am not an expert of VB. I am very confused. I am good in java. But solution of my problem is not easy in java. The situation is something like that: The data that is coming on hyperterminal from a remote computer(connected through dial up modem on hyperterminal), …

0
62
Member Avatar for PinoyDev

hello guys.! I just have 1 problem right here. I have a variable declaration below: [code=vb] myVar ="Argie's" "Select * from [my Table] where [my Field] ='" & myVar & "';" [/code] When i execute the query, it returns error because the myVar value contains Quotes and sql server does …

Member Avatar for PinoyDev
0
112
Member Avatar for anandbe21

Hi, i am new in vb6.0 Data reports can anybody help me regarding my requirement is i need to display my Grand total for summarise total displaying in Group header,Group Footer section & they are displaying separate total for each employee Total my requirement i need to display all Sub-total …

0
42
Member Avatar for firoz.raj

can anyone tell me .why i got error object variable or with block variable not set .any help would be greately appreciated.here is the code what i have written.Kindly find the attachment also. [code=vb] Private Sub Command3_Click() Set CON = New ADODB.Connection [COLOR="Red"]If CON.state = adStateOpen Then[/COLOR] ' con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist …

Member Avatar for Jupiter 2
0
166
Member Avatar for fadia

Hello.. i'm working on my project.. it's the first time i do a C++ project.. but i'm getting this fatal error.. if any one knows how to solve it plz tell me.. also if anyone have any idea or advice to improve the program plz go ahead. [CODE] #include <iostream> …

Member Avatar for tux4life
0
201
Member Avatar for map0598

You know how you enter a command in windows 98/xp registry, for example: HKEY_CLASSES_Root\*\shell command = notepad.exe %1 and when you right click on a file it appears in notepad. I want to substitute "myvb6program.exe %1" for notepad.exe in the registry, but I need to know what vb6 code I …

0
46
Member Avatar for rola

I need to write a VB program which takes customer type, number of books purchased and cost of each book as an input.Then calculate the total sum after deducting discount that is to be paid by customer. Note that it needs to show both the total before discount and after …

Member Avatar for Jupiter 2
0
140
Member Avatar for chri5ty

:-/ Hardware performance becomes increasingly high. Software performance seems to decrease, because developers (who are not necesarily programmers) believe that the hardware is so powerful that it will carry out any task. :| On some of the "geeks forums" every child can advise you to update your computer, buy some …

Member Avatar for Jupiter 2
0
247
Member Avatar for cmwhite87

Ok, so the following logs can be viewed after the install fails... I have access to the software through my University and thus am installing the software by virtually mounting the ISO file using MagicDisc. Once I do that the autorun kicks off the installer and its all downhill from …

Member Avatar for Jupiter 2
0
454
Member Avatar for elanch

Dear All, I have done a project in VBasic 10.0 for our product Design. Unfortunately the program was deleted while re-installing the OS. However we have managed to retrieve the files by using File Recovery software. [U]But now the .EXE file is working but the Vb program file is corrupted.[/U] …

Member Avatar for Jupiter 2
0
163
Member Avatar for icedece

hi, i'm trying to create an animation where an image will move left across the screen by 33 pixels at a time until it hits the other edge and goes back, however i', not sure how to write the coding for this timer, below is all i could think of …

Member Avatar for vb5prgrmr
0
97
Member Avatar for anil.dwivedi

Hi Guys, I want to convert .pptx/.pptm file into .ppsm file using VB6. As like we do Save as functionality in Microsoft Office PowerPoint Application. In PowerPoint, we open .pptx/.pptm files and then save as this file in .ppsm type. Now this file converted as .ppsm type and functional as …

Member Avatar for vb5prgrmr
0
185
Member Avatar for Carrots

Hi, Hoping someone can tel me where I'm going wrong, or what I should do. I'm trying to use some pure virtual functions on some polymorphic classess but am unsure how to do it correctly. Hiopefully this code will explain it a bit better: vehicle.h : [code=C++] using namespace std; …

Member Avatar for Carrots
0
192
Member Avatar for Abderian

I made a program in Visual Studio that reads an End-Of-File signal. When you run in the debug mode, sending the signal closes the program. Running without debugging with ctrl + F5 means you can send the signal. However, when I compile in release mode and run the exe it …

Member Avatar for Abderian
0
203
Member Avatar for Jupiter 2

It's VBA if you use Excel or Word Its VB if you use Access There doesn't seem to be a forum/topic for Microsoft Products, not that I can find, anyhow, Bundling Excel into Visual Basic 4/5/6 is confusing many people, Questionewrs and Answerers. Perhaps an addon to the forum/Topic DaniWeb …

Member Avatar for Dani
0
162
Member Avatar for Djanvk

I'm on windows XP and I use Firefox on a wireless laptop. I am trying to download and install visual basic express from microsoft and I get the unable to connect page. I have previously able to download Visual C++ express from that same site about a week ago. I …

Member Avatar for alrissa
0
255
Member Avatar for bprabhumdu

How to retrieve a ith place of a table using query.suppose if table has 100 records ,i want to rerieve 93rd record? . please help me

Member Avatar for vb5prgrmr
0
119
Member Avatar for Kecy

I am writing a macro for an excel document. it takes a string from a list of strings in column "R" and searches ALL through column "J" to find the string. If it finds the string, it serches the columns "L" and "N" to find out if the numbers are …

Member Avatar for Jupiter 2
0
124
Member Avatar for abu taher

I made a database project. when I run it another pc it was run. but when I see the report (in my project) it show a error msg. it is : error number: 713 application defined or object defined errro. another thing it is exe when i run it another …

Member Avatar for Jupiter 2
0
89
Member Avatar for MJ Pieterse

Hi, i need to find tutorials or open source projects to build stuff (think it will only be security, which i think that [url]www.asp.net[/url] might be able to assist me in a tutorial, but i also need something that will teach me/let me include on my site to have text …

0
102
Member Avatar for goyofoyo

hey I have been looking up shapes in c++ but everyone talks about needing certain compilers and #includes but i don't have those compilers i have just been using the standard Microsoft visual studio at my school i think and my teacher has just asked us to create different shapes. …

Member Avatar for Ancient Dragon
0
121
Member Avatar for jbfsantelices

Good day to everyone...I'm a newbie here and a novice in VB6 programming... I really having a hard time formulating the correct syntax on how to merge multiple tables in Access 2003 using VB6. All the tables that I want to merge had the same fields. For example Table1 includes …

Member Avatar for vb5prgrmr
0
729
Member Avatar for abu taher

I made a project (exe). I want when a user use it , after 6 month or 1 year it will expired. I mean the exe is use for 1 year. after 1 year it will show a msg. like: demo version for 1 year. contact with author.

Member Avatar for abu taher
0
569
Member Avatar for xXxWiredxXx

data's in datagrid is not all from database/recordset.. i have 2 columns coming from a textbox.. is it possible to move all the data's in my datagrid to an excel sheet?

0
59
Member Avatar for manishgurnaney1

Hi all, I am using Visual Studio 2005, and developing some application. Currently i am facing one problem. I have written a class and declared some member variables in the class. In the constructor i am initializing the member variables to 0(member variable is int). But when i debugged the …

Member Avatar for ArkM
0
120
Member Avatar for nyt1972

Hello Friends, I am trying this code to receive SMS through my GSM Modem but I just get this: [QUOTE]AT+CMGL="ALL" OK [/QUOTE] in the text2 box Please help [CODE]Private Sub Command2_Click() Dim buffer If MSComm1.PortOpen = True Then MSComm1.PortOpen = False With MSComm1 .CommPort = 3 .Settings = "9600,N,8,1" .InputLen …

Member Avatar for VIeditorlover
0
110
Member Avatar for hannahwill

hello i am trying to add webreference by right clicking on project in visual studio 2008 located at webadress [url]http://www.uclocal.com/customerservice.asmx[/url] visual studio finds the webservice but it dont add webreference it gives me error message below The document at the url [url]http://www.uclocal.com/customerservice.asmx?WSDL[/url] was not recognized as a known document type. …

Member Avatar for kvprajapati
0
149

The End.