64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for BluePaper

Mhm. This is the VB.net code behind a webpage I'm working with, I've also provided the ASP.net for the frontpage as well. This maybe really simple and I've missed it but everytime I run this code (below) I keep on getting the same error "Invalid column name, Skyrail" where 'Skyrail' …

Member Avatar for BluePaper
0
337
Member Avatar for musicmancanora4

Basically im trying to design a dtd that represents a collection of movies Not sure why but when i try validate the dtd it says undetermined element declaration 'Movies' but i have declared it havnt i? could someone take a look at my code give me some pointers ? thanks …

0
87
Member Avatar for sonia sardana

Private Sub Command3_Click() Dim a, b As Integer Dim divide As Double a = 10 b = 3 divide = div(a, b) MsgBox (divide) End Sub Private Function div(a, b) div = a / b End Function Function return type by default is integer in C. & if we do …

Member Avatar for choudhuryshouvi
0
86
Member Avatar for daviddoria

I had a global variable that could be seen by all of my functions. I was getting too many functions in the same file, so I made functions.h and functions.cpp. I put the function definitions in functions.cpp and the declarations in functions.h. In main.cpp, I include functions.h. The problem is, …

Member Avatar for daviddoria
0
274
Member Avatar for knight fyre

I'm trying to create a function that will sort the contents of a file in alphabetical order. The problem I'm having is that the code doesn't seem to do anything. The only examples I could find have to do with arrays which I am not using but I tried to …

Member Avatar for knight fyre
0
1K
Member Avatar for Jennifer84

This for loop below sets 5 checkboxes in a checkedListBox. What I wonder is that when running the code below, 5 checkboxes is created and the checkboxes are "unchecked". What I am wondering is how it is possible to make these 5 created checkboxes "checked" and how it is possible …

Member Avatar for Jennifer84
0
213
Member Avatar for bachmabt

This seems like a very simple process, but I cannot get the data out of the loop: I have a data file "slink.txt": [CODE]88 10112213 33332332 22011220 23110122 21231102 12222321 32131132 10023232[/CODE] I am trying to store the numbers in a 2 dimensional array: [CODE]f = open('slink.txt', 'r') rows = …

Member Avatar for bachmabt
0
147
Member Avatar for dnk

i wanna to get size of file. help me how to get this. anyone know how to do this. any help will be appreciated :)

Member Avatar for Jx_Man
0
144
Member Avatar for TheBeast32

Hi i have been making two programs: one that sends a file's filebuf made into a char*, and another that receives that and writes it to a file. They're like exe sending programs. I can send the char* and write it onto the console using cout.write(), but when I try …

Member Avatar for TheBeast32
0
241
Member Avatar for IU34

[URL="http://corvettecraz92.pastebin.com/f59db1508"](new code)[/URL] so, my new error message is 'local variable 'gold' refferenced before assignment.' now what?

Member Avatar for IU34
0
109
Member Avatar for IU34

yeah, another one...but this time in python! yay, more errors! :) first off, [URL="http://corvettecraz92.pastebin.com/f65e1cd3c"]here's the code..[/URL] (based off of chris99's code...the only example i could find for a text adventure game!) Now, my problem is where it says [code=python] elif prompt_p == 'examine sign': print """Behold the mysterious grating! For …

Member Avatar for IU34
0
285
Member Avatar for aot

I've been trying to get some .JPGs to show up in Tkinter but have had no luck so far. Up until now I was just using PhotoImage, which takes .GIFs, but it would be nice if I could expand and use other formats. Any ideas? Also, I know that wxPython …

Member Avatar for woooee
0
235
Member Avatar for aot

I've been using Eclipse as my IDE for python programming, mostly because it's free. However, as far as I can tell, its debugger is not that great. All I ever get are notices of what line the error occurs on (and what the error type is) and, while this can …

Member Avatar for ZZucker
0
150
Member Avatar for Naruse

how to play avi file using vb.net ?? preferable with full screen mode help me to do this.

Member Avatar for Jx_Man
0
671
Member Avatar for wonder_laptop

Hello guys... i came across this statement on the internet "java uses Preemtive scheduling?!!!" and i have NO idea what it means. i found 2 definitions online: [U]A preemptive[/U] operating system allows external interrupts ( such as timers, communication devices, etc.) to cause the task that is running to be …

Member Avatar for wonder_laptop
0
137
Member Avatar for Luckychap

Hi guys, I need to understand the concept of inheritance in Oops. Can any one explain with real life example the use of inheritence to enhance a super class. It will be very helfull to me if you can explain me the use of inheritence to build a simple car. …

Member Avatar for chiwawa10
0
123
Member Avatar for rockmania

I need C code or program to save the output of the following program into a jpg file(any picture file)? i need to save the output of this program in to a picture file..i need to take printouts of those output..help me with the code that does the above thing... …

Member Avatar for Salem
0
151
Member Avatar for harkw002_UniSA

1. How do i convert an object (students) which is of type string into a string. 2. How do i remove all characters from a string after a space character. ie. i want to read an Object eg. "WILSON","MBCP" convert it to a string and then remove "MBCP". Then i …

Member Avatar for harkw002_UniSA
0
157
Member Avatar for Jade_me

Hi... i want to make flash window... after program completed something task then that window will flash. i ask my friend and he said to use api function. but i don't have an idea to do this. please help me masters... any help will be appreciated. best regard Jade

Member Avatar for Jx_Man
0
159
Member Avatar for ruchika beddy

UseMnemonic -> Set this property to true, if you want to display a character in the captio property of the label as an access key. Suppose I write in the Caption property of the label--? &Ruchi. I know access key is invoked by ALT + letter that is underlined. But …

Member Avatar for ruchika beddy
0
147
Member Avatar for sonia sardana

Hey when i select the control ,to move to another position,thet are not moving. I m moving the controls using CTRL+ Arrow keys. What feature is to be turned on for moving the controls by selecting them.

Member Avatar for sonia sardana
0
65
Member Avatar for Laurence26

I add a new name to this script, but when I want to quit and save it gives and error ValueError: need more than 2 values to unpack I have no idea what it means can someone help me? If you want to modify the program feel free... [CODE]filename = …

Member Avatar for Laurence26
0
181
Member Avatar for harkw002_UniSA

I have a header file called StudentRecord.cpp which declares the function: vector<Student>::iterator find (const string& studentName); In my Student Record.cpp file i have written the folloing code: vector<Student>::iterator StudentRecord::find(const string& studentName){ vector<Student>::iterator find; for(find = students.begin(); find != students.end(); find++) { if (students[find].getName() == studentName) { return students[find]; } else …

Member Avatar for harkw002_UniSA
0
104
Member Avatar for dougy83

Hello all, I'm new to VB.NET. Does anyone know how to call non-.NET functions (i.e. native, unmanaged) in dll files where you don't know the dll filename until run time? I had a go using LoadLibrary and GetProcAddress with delegates, but ended up with a mess (a working mess - …

Member Avatar for dougy83
0
399
Member Avatar for electromania

Im codding a programm that has multiple functions. Once functions calculates the means of 2 sets of data and prints meanx and meany. Now another function will use those means to do some other calculation. I dont know how to get those values from one function and pass them into …

Member Avatar for Ancient Dragon
0
283
Member Avatar for Sawamura

hi all, thanks to helping until this time. now i want to display printer properties... please help me to do this. do i have to using api function to do this?? any help will be appreciated... best regards :)

Member Avatar for Jx_Man
0
457
Member Avatar for knight fyre

I've created a program that writes info to a specific file and reading from it to generate an income report. The problem I'm having is that when I geerate my report, the last person that was entered is repeated twice, hence throwing off the grand total. Here's the bit of …

Member Avatar for knight fyre
0
109
Member Avatar for choudhuryshouvi

i have a database called [B]"BILLING_SYSTEM"[/B] in sql server 7.0 and I'm using sql server authentication mode to connect to the database with my [B]username[/B] [B]"BS"[/B] and [B]password "BS"[/B]. where my front-end is a VB6.0 application. [B]now I want to create this security login "BS/BS" from vb6.0 code without opening …

Member Avatar for choudhuryshouvi
0
221
Member Avatar for lydia21

[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code]

Member Avatar for phper
0
75
Member Avatar for abhi287

Hi I m developing an application in which i want to compare a String with string[]. Means i m having array of names which i m displaying in a table..Then i m changing some names in table dynamically by some processing and adding new names to the table... While replacing …

Member Avatar for abhi287
0
115
Member Avatar for aminit

Hello All: Can anyone give me a simple idea how to remove the duplicated letters in a text if I have this word HELLO it must be HELO..... Thanks in advance.....

Member Avatar for aminit
0
118
Member Avatar for roby4eldiablo

Hi all, i need help on asp-sql code. I have a form when I catch some infos and i want to create a new record into a database. I have tried many syntax but I can't pass the variables a,b,c,d,e,f to sql string. Please tell me how can i do …

Member Avatar for roby4eldiablo
0
139
Member Avatar for mansi sharma

Single line Comments---? Multi-Line Comments--? I dont want the description, I want how to commnet the section of code. Ex, Line in C, [COLOR="Red"]Single Line Comments-[/COLOR] // [COLOR="Red"]Multi-Line Comments-[/COLOR]/* */

Member Avatar for QVeen72
0
95
Member Avatar for sonia sardana

Hi, I m new to the VB. Can u pls tell me how to change the backColor Of CommandButton I try, [COLOR="Red"]command1.backcolor=blue[/COLOR]

Member Avatar for Jx_Man
0
114
Member Avatar for jobob64

MMmmmmk so what i am trying to do is simply throw a the ERROR object from the Array<T>::operator[] and catch it in main take a took... it prints out the equivalent of an empty space in memory. [code] //error.h class ERROR { public: ERROR(char * Incomming) { m_message = new …

Member Avatar for jobob64
0
125
Member Avatar for TheBeast32

Hi, I made a simple program that copies files. I tried to copy an exe file, but after I tried to run the copied version, it doesn't work properly. Please help:?: Here's the code for the test file to copy: [code=C++] #include <iostream> int main() { std::cout << "Hello!"; std::cin.get(); …

Member Avatar for TheBeast32
0
177
Member Avatar for blue_misfit

Hi folks! This is my first python script! It will be executed within AvsP, which is an application for writing AviSynth scripts. It provides a full Python interface, for macros and other operations. Here's the code I have now: [code] # batchCreateD2Vs # by Derek Prestegard # Last Modified 4/3/08 …

Member Avatar for woooee
0
149
Member Avatar for justinmyoung

I've searched through the forum, but I couldn't find an answer. How do you display a result within HTML? Such as: [CODE=php]$query = "SELECT * FROM customers WHERE job_number='$jobnumber'"; $result = mysql_query($query); while ($row = mysql_fetch_array($result)){ echo $row['first_name']; echo $row['last_name'];[/CODE] Thanks in advance.

Member Avatar for effu
0
1K
Member Avatar for lostandfound

This question is driving me batty!! I am currently teaching myself and enjoying the results of VB6. However, whenever I ask a colleague anything regarding VB the first reply is always the question "Are you using .NET?" and after the answer "No, I use VB6!" they reply with "Ooooh, you …

Member Avatar for lostandfound
0
190
Member Avatar for Arne Kristoffer

Hello! I have a string which may look like this: (arne kristoffer)(1231232)(12.12.12)(asdasdf 12) This is just an silly example, but never mind. THe point is that i need to seperate the contents of the string into a string vector. This is my code (which of course doesn't work, if it …

Member Avatar for Lerner
0
149
Member Avatar for Jennifer84

Here I am putting 2 Number into a std::vector<double> and sort these numbers like this. When putting Number1 and Number2 wich are declared variables into the vector, the Number 5 and 10 are put into the vector. If I after the sort write this: Numbers[0], this will give me the …

Member Avatar for Jennifer84
0
259
Member Avatar for SandraC

Hi all! I have two functions, one which calls the other (here simplified) that are part of an autocomplete process. The scripts run without error, however the part I am posting here returns "undefined" for one of my variables. The alert in the function findValue() returns the correct "thisID" in …

Member Avatar for SandraC
0
146
Member Avatar for jgritty

I'm sure this is stupidly simple, but I am trying to add words to two different dictionary files I have created. I think my problem is here: [code=python] myDict = Dictionary.Dictionary() myDict2 = Dictionary.Dictionary() [/code] Because when I write out the files, it writes the same thing to both files, …

Member Avatar for jgritty
0
308
Member Avatar for ninjajake

I am using dr. scheme and I need to retrieve the 2nd item in a list. is there a function like car that returns the second one instead of the first one?

Member Avatar for azimuth0
0
115
Member Avatar for bbmatten

I am very new to Python and am about three weeks behind due to textbook problems. I am having a problem with one programming exercise. I have no idea how to even begin writting a program to determine the distance to a lightning strike based on the time elapsed between …

Member Avatar for vegaseat
0
76
Member Avatar for Arne Kristoffer

Hello! :) I'm having a problem while comparing one character from a string with a ... string. This is a part of a pretty complex loop (or, it's complex for me, since I'm new to C++ and programming), but the case is that I need to compare the value of …

Member Avatar for Arne Kristoffer
0
22K
Member Avatar for dragonheart

im using crystal reports 11 in my vb project.. (vb 6.0) as i cudnt find the crystal report control in the project -.> components, i went to project -> references and tried to browse and show where the OCX file is.. it got added to the library list.. but when …

Member Avatar for dragonheart
0
276
Member Avatar for farahphp

Hi i'm trying to display a default value in a atext field then when user changes it im grabbing it in javascript and passing it as a hidden variable but it doesnt work [code] //javascript function function save() { var imp = document.getElementById('yesno').checked; document.getElementById("schdate").value = document.getElementById('nextsch').value; if(imp == false) { …

Member Avatar for farahphp
0
103
Member Avatar for programmer321

[code] Hello, I need my C code Exe to exit only using Cntrol + C and the cross should be disabled. Can anyone help me with this. Regards. [/code]

Member Avatar for programmer321
0
151
Member Avatar for sonia sardana

Hi, I want to ask,I know vb.net not vb. I want to ask is there so much difference b/w vb & Vb.Net.

Member Avatar for cetan
0
257

The End.