199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kakeen

Yea, just recently I enrolled into a basic computer programming class. We use Turbo Visual C++ and umm so far it went okay until we talked about do-for-while loops... Can anyone help in making a program in loops >_< I mean I tried using the goto statements but my professor …

Member Avatar for WaltP
0
139
Member Avatar for huffstat

I am starting a new project and a couple of tips would be helpful. I wish to read all the files in the Windows Favorites Folder or Directory and extract the link information. I know how to read the files once I have the name of the file. What I …

Member Avatar for huffstat
0
115
Member Avatar for Chadman

hi all- i'm not yet a computer programmer but i want to be soon, so i can make a massively multiplayer online computer game. i was wondering what computer language would be best to learn for this, or indeed if i would need to learn more than one language... the …

Member Avatar for Chadman
0
64
Member Avatar for bigdill

Could anyone tell me the function this program is using? [code]#include <iostream.h> #include <stdlib.h> void My_Name_Is() int main() { My_Name_Is() //Calls function that prints user's name }[/code] Thanks!

Member Avatar for jim mcnamara
0
69
Member Avatar for julesjacobs

Hi, I'm trying to construct a compiler for a really simple stack based language to learn how my computer really works, and to learn how to create a compiler. So far, I have never done anything in assembly (only higher level languages). Could you give me advice about the following …

Member Avatar for huffstat
0
328
Member Avatar for shalini_roy
Member Avatar for mwedberg

Latley we're having some strange behavior in some large databases. Sometimes the queries just takes a long time to run. They've run fine earlier. Is there a limit in rows/data that one should stribe to not exceed? It's on a fast machine with almost 12Gb free space. One table e.g …

Member Avatar for hollystyles
0
118
Member Avatar for takizzle

I have 2 MS SQL Servers running on 2 machines that are identical. I am working with 2 databases - one from each machine. The structures of these databases are also identical however, the number of records are different.. SQL Server A has over 1.5 million records through which I …

Member Avatar for mwedberg
0
92
Member Avatar for sgriffiths

Hello I am trying to write some data to a certain position in a file, but cannot get it to work I want to write "XX" to position 6 of a specified file, but the data is just being written to the end of file. see below [code]#include<stdlib.h> main() { …

Member Avatar for sgriffiths
0
2K
Member Avatar for Ricky_v.s_C++

How can I separate an integer into digits using for loop? eg. before: 123 after: 1 2 3 anyone can help me with that?

Member Avatar for Ricky_v.s_C++
0
400
Member Avatar for jacksoncapper

I've looked everywhere, I've asked everyone, but it's something nobody has a clear answer to. I want to know how to represent a 3D line! I know a 2D line is y = mx + c but what about a 3D line?? Anyone who has any clues, please please tell …

Member Avatar for Rashakil Fol
0
88
Member Avatar for thomas_joyee

hi all, i create an application to sending email's. this is the code i used. Dim mailmsg As MailMessage SmtpMail.SmtpServer = "127.0.0.1" mailmsg = New MailMessage mailmsg.To = txtFrom.Text mailmsg.From = txtTo.Text mailmsg.Subject = "demo" mailmsg.Body = "Its a simple test" mailmsg.BodyFormat = MailFormat.Text SmtpMail.Send(mailmsg) But i got an error …

Member Avatar for Embeza
0
257
Member Avatar for mikki2

hi i have a problem but i'm not sure if this post goes here or not. anyway here goes. i just started a course in chinese and the name is"huibian yuyan sheji" (for those that understand chinese) which translates to "compilation language and design". now i have typed the english …

Member Avatar for julesjacobs
0
91
Member Avatar for kathryninvt

hi.i am not sure if i posted this in the right area.if i didn't please forgive me.i am learning how to do this.i am not sure how to explain it,so i will try to explain and tell you what i see happening.please bear with me as i don't really understand …

Member Avatar for Phaelax
0
169
Member Avatar for Munoz

I am trying to display a database into textboxes without using Datagrids. How do you give a value to a text box that corresponds with a Sql row. Thanks.

Member Avatar for tgreer
0
106
Member Avatar for Steinway

Like the title says, my VB6 hangman program freezes when I do a test run. I'm not a big expert in Visual Basic (in fact, I'm only a clueless highschool student..) so maybe you can help me. I'm not quite sure what causes freezing to occur, but I've pasted the …

Member Avatar for agrothe
0
273
Member Avatar for mrjaiswal

Hi All, I am new member of this forum. I am trying to implement the simple c logic for the following problem : I want to come out of a [B]while[/B] loop only when I press the key 'e' But [B]condition is that, it should not wait for me to …

Member Avatar for spaceboyz87
0
193
Member Avatar for TheVerve51

I'm having trouble. If I try to open up a new window by clicking on a link, my computer just freezes for a couple of minutes and then doesn't even open the window. I'm basically computer-illiterate, so I have no idea what's wrong. Is it something with javascript? i thought …

Member Avatar for TheVerve51
0
84
Member Avatar for aarya

i m trying to do one small shopping cart. just to learn.i could able to do shoppin cart with add product ,removeproduct then checkout page. now my problem started when person give all the info(i mean shipping info,address,credit card info) weather i need to connect to any payment gateway like …

Member Avatar for aarya
0
119
Member Avatar for MrConfused

I have a program that produces various reports. I need a way to send the reports to MSWorks/MSExcel. At the moment the reports are sent to a locked scrollable text box on-screen. This allows you to copy and paste the information to most word processor programs o.k. Unfortunately as I'm …

Member Avatar for friedolin
0
112
Member Avatar for slacke

I start to write a code for a shell with some basic functions: open files, save files, create files... I try to use the ifstream for opening files. I found the constructor - ifstream openfile("file.txt", ios::in); I try to use this constructor in the way (function openfile()) that I can …

Member Avatar for Dave Sinkula
0
101
Member Avatar for khwo

Hi All, i facing problem here, the following is my coding for move previouse recored. [COLOR=#008000]'Open connection [/COLOR]ConnCust = [COLOR=#0000ff]New[/COLOR] ADODB.Connection Cust_String = "Provider=Microsoft.JET.OLEDB.4.0;data source=\\AAA\ABC.mdb" ConnCust.Open(Cust_String) [COLOR=#008000]'Open recordset from Customer List [/COLOR]RstCust = [COLOR=#0000ff]New[/COLOR] ADODB.Recordset Last_SQL = "SELECT * FROM CustomerList WHERE CustomerID <= " & lblCustID.Text & " ORDER …

Member Avatar for williamrojas78
0
305
Member Avatar for Gowrishankar

Hi,I am having problem in displaying the returned value from one function.I write one function for creating db connection,in that function I returned the string value of username.I want to display the string username value in different label through a button click event.What is the C# ASP.NET syntax ?Can any …

Member Avatar for campkev
0
316
Member Avatar for dannyfang

HI, I'm new to the licensing mechanism, and I would like to gain an understanding on the Java FlexLM API usage. I was wondering if anyone could point me to any examples or share any of their references as to how the FlexLM Java APIs are being used to segregate …

Member Avatar for pould
0
10K
Member Avatar for squirrel

Hi, I have a program which is hard coded, I need to enter a value(n2 in the below code) in the program, and the program processes the file according to the value n2. how I compile now is as follows: cc -o test testprog.c ./test [filename] What I need to …

Member Avatar for squirrel
0
259
Member Avatar for ahr3n3

Hi, I urgently need someone's help. Any kind sou(s) will be greatly appreaciated. I've tried solving this problem for like three days. At first, my problem is I can't hide my sub-links. Now, I'm able to hide all of them. But it can't be showed when hovered. I understand that …

Member Avatar for ahr3n3
0
100
Member Avatar for NewVBguy

Hi Everyone, This is probably simple but I don't know how. Can someone show me a code the test if the child form is currently active or currently the one open in front of my screen. Thanks in advance. newvbguy

Member Avatar for NewVBguy
0
100
Member Avatar for thlegendkiller

good day, I am an incoming 2nd year IT student and am encountering a problem in creating a "turtle graphics"(from the famous Logo Language) program using C. This case is found in the book of deitel and deithel, "C how to program" in the chapter of Arrays. it has almost …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for asmith3006

Hello new world. I'm new to C# and very new to GDI and drawing and would really appreciate some help. I'm trying to draw some boxes (rectangles). I wont put code up as I don't think it's nessesary... but you never know. As a test I've made a form and …

Member Avatar for asmith3006
0
129
Member Avatar for vjeshemv2000

Dear all, i have a project created in VB. and the database in MS Access. I created a menu driven programme. in file menu i inserted command named exit and in the click event i wrote End. it is working but when i click on the close button of the …

Member Avatar for Comatose
0
84
Member Avatar for RanmaSaotome

Just a quick question. Is it possible to have only say, a quarter of the form use directx? and is it possible to move this area around the form? Or, would the solution for this be to have two forms on screen simultaneously? Help appreciated, Joe.

Member Avatar for agrothe
0
149
Member Avatar for INI

Good Morning Guys, I am having difficulties in figuring out if a file exist. Below is the code I have; for some reason, the code does not pass through the if .Execute() > 0 line, instead it jumps to the else statement.I know that the file exist, please can someone …

Member Avatar for Comatose
0
120
Member Avatar for Dark_Omen

I am trying to develop a In-Game Music Controller, controls music players for gamers, but I am having trouble figuring out how I can make a UI that would come up over the game so that a person could use it without having to minimize it (sort of like xfire). …

Member Avatar for Dark_Omen
0
144
Member Avatar for bodikon

[code] sql = "SELECT * FROM tblcsvdump" set rs = connection.execute(sql) records = rs.Fields.Count dim heading(100) dim pulled(100) dim i dim count dim VAL dim VEL i=0 count = 0 for i=0 to records heading(count) = rs.Fields(count) response.write(heading(count)) header = heading(count) '**** THIS ROW HAS ERROR pulled(count) = Request.Form(header) count=count+1 …

Member Avatar for campkev
0
136
Member Avatar for vegaseat

In case you are curious, I just posted a new tutorial "Python and Multimedia, Part 1, The amazing Webbrowser Module" on DaniWeb at: [url]http://www.daniweb.com/tutorials/tutorial47392.html[/url] I would love some input from our Linux and Unix friends to see how much cross platform the module is. Post any comments in this thread!

Member Avatar for vegaseat
0
201
Member Avatar for Sacky

Ok i have this code to download some data [CODE] [COLOR=#00007f]Private[/COLOR] [COLOR=#00007f]Sub[/COLOR] Getfiles_Click([COLOR=#00007f]ByVal[/COLOR] sender [COLOR=#00007f]As[/COLOR] System.[COLOR=#00007f]Object[/COLOR], [COLOR=#00007f]ByVal[/COLOR] e [COLOR=#00007f]As[/COLOR] System.EventArgs) [COLOR=#00007f]Handles[/COLOR] Getfiles.Click Webbrowser.Navigate([COLOR=#00007f]New[/COLOR] System.Uri("http://mail.google.com/mail/feed/atom")) [COLOR=#00007f]Dim[/COLOR] Net [COLOR=#00007f]As[/COLOR] [COLOR=#00007f]New[/COLOR] System.Net.WebClient AtomFeed = System.Text.Encoding.ASCII.GetString(Net.DownloadData("http://mail.google.com/mail/feed/atom")) Atomfeedtext.Text = AtomFeed [COLOR=#00007f]End[/COLOR] [COLOR=#00007f]Sub[/COLOR] [/CODE] Every Time i run it i get a 401 Unauthorised Error I …

Member Avatar for Sacky
0
127
Member Avatar for Blujacker

In code snippet, there is an example with wx.menu(), but there is only one command in menu. I need moore [code] menu = wx.Menu()#create_menu menu2 =wx.Menu()#menu2 menu2.Append(wx.ID_EXIT, u"Add")#menu2 self.Bind(wx.EVT_MENU, self.a, id=wx.ID_EXIT) #menu2 menu.Append(wx.ID_EXIT, u"PÅ™idat")#menu self.Bind(wx.EVT_MENU, self.Pridat, id=wx.ID_EXIT)#menu menuBar.Append(menu2, "File")#menu2 menuBar.Append(menu, "Soubor")#menu self.SetMenuBar(menuBar) [/code] it doesn't work correct If do i …

Member Avatar for vegaseat
0
148
Member Avatar for vjeshemv2000

Dear all, i created a vb project for faculty evaluation. for that i also created a database in MS Access. Now I want to include one of the field in table into the section 4 of the datareport. is it possible?. if yes what will be the code. below i …

Member Avatar for vjeshemv2000
0
127
Member Avatar for Darkmeerkat

Hello, I've got three files, [b]main.cpp[/b], [b]test.h[/b] (the header file), and [b]test.cpp[/b], (implementation of [b]test.h[/b]). Both [b]main.cpp[/b] and [b]test.cpp[/b] #include [b]test.h[/b], but I don't seem to be able to get [b]test.h[/b] to use the implementation in [b]test.cpp[/b] (leading to "undefined reference" errors when attempting to compile). Searching Google, I've found …

Member Avatar for Darkmeerkat
0
97
Member Avatar for jlgad

I have 3 classes..but i need to print the outcome from the printArray. Right now it is printing from the GetTax Compute class. I am so confused. [code] Class 1... public class PosCalProgram { public static void main(String[] args) { double x = 0; item[] items = new item[3]; items[0]=new …

Member Avatar for DaSogo
0
142
Member Avatar for ~s.o.s~

Hello all prorgammers out there. While just fiddling with the pointer concept of mine which is weak i wrote a very simple function to just give the addr of the array to the char type pointer so that i can refer the array using the pointer instead of the array …

Member Avatar for ~s.o.s~
0
121
Member Avatar for thijs_straathof

[COLOR=Lime]i have a error message which is :[/COLOR] [COLOR=Lime]An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe[/COLOR] [COLOR=Lime]Additional information: Object reference not set to an instance of an object.[/COLOR] [COLOR=RoyalBlue] and it has to do something between the [COLOR=Red]()[/COLOR] behind [COLOR=Red]kubus.show[/COLOR] for example[/COLOR] Dim kubus As Form2 Dim blok As …

Member Avatar for williamrojas78
0
111
Member Avatar for molayos

I have xml strings in a memory in C program. I need to extract the reponse tag. Any known xml parser or string extractor code out there that works?

Member Avatar for iamthwee
0
104
Member Avatar for joe935

I have written this code to Display the time every 15 minutes using MSAgent: (Private Sub Form_Load() On Error Resume Next CenterForm LoadAgent "merlin" theAgent.Speak "Hello" theAgent.Hide Gettime: Do Mytime = Time Myhour = Hour(Mytime) Myminute = Minute(Mytime) Mysecond = Second(Mytime) If Myminute = 15 And Mysecond = 0 Then …

Member Avatar for Comatose
0
238
Member Avatar for alvaro

Hello, I'm trying to write a bash shell script to run some finalization commands on cygwin under Windows XP. I'd like to exit the shell in an automatic way (writing the 'exit' command in the script) but it doesn't work. Do anybody knows a way to do that?

Member Avatar for alvaro
0
97
Member Avatar for ooglez

Hi, I'm currently working on a turbo pascal program. I'm creating a game, and were wondering if there was a way to set a timer. This would be done so the user has a limited time to complete the task. I'm only a beginner, so much help is appreciated.

Member Avatar for hani odwan
0
151
Member Avatar for kishore22

Hello, I need the logic to implement a stack by using two queues. can anybody help in this ? Thanks & regards, Kishore

Member Avatar for Narue
0
112
Member Avatar for Lun

<Post moved from dead [URL="http://www.daniweb.com/techtalkforums/thread22835.html"]thread[/URL]> is it possbile if the string letters can be alternatively capital? like uhmm ex. boring to a bOrInG? and without using the any str?

Member Avatar for Lun
0
94
Member Avatar for jcdmibz

I have a situation. I am running a Windows XP with iE 6.0 sp2; under admin i am able to view the site no problem. Once I logon as the user I am no longer able to view the site. I checked the following Using Java and not Microsot vm. …

Member Avatar for jcdmibz
0
106
Member Avatar for infinity4ever

hi... i create a new table with this code Dim SQLCreate As New SqlCommand Dim Conn As New SqlConnection Dim DA As New SqlDataAdapter Dim DS As New Data.DataSet 'Create DB SQLCreate.CommandText = "CREATE TABLE test (ID integer NOT NULL)" SQLCreate.Connection = Conn Conn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\RBD.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True" …

Member Avatar for infinity4ever
0
298

The End.