132,726 Archived Topics
Remove Filter ![]() | |
[Not sure how else I would describe the subject, that pretty well sums it up] Here's the set-up: I have a C# project that references variables in another application: [CODE]TextFrame BodyCopyBox = (TextFrame)doc.FindElement("BodyCopyBox");[/CODE] But what can happen is that I can have many of those like: [CODE]TextFrame BodyCopyBox1 = (TextFrame)doc.FindElement("BodyCopyBox1"); … | |
Salutations! Would anyone be kind enough to provide a general overiew as to what exactly is OpenGL. I searched the internet however, most of the material I came across didn't quite clearly state the different between OpenGL and GLUT. Also, what is SDL? I am quite familiar with C++ however … | |
hi im a newbie,can u give me an example of math problems using c language...preferably calculus using else-if statement,or a looping satement..thank u very much..godbless(",) Software Development c++ | |
Hello ! I'm trying to create the dictionary which would handle Latin characters like (Å), µ and so on. Apparently I'm require some sort of encoding to Unicode. Is there a way to handle this problem? see code bellow [CODE] wordDic = { '_chemical_formula_moiety': 'chemical formula ', '_chemical_formula_weight': 'Fw ', … Software Development python | |
I am fairly new to Python and I am trying to understand how list comprehension works. I start with a list of nested lists (lis1), make a copy using list comprehension to give lis2 (in the function scan()). I use a for loop on lis2, to change the first item … Software Development python | |
Dear Experts How to findout computer / server name with vb.net codes. I want to use it in connection string [CODE] con = New Data.SqlClient.SqlConnection("Data Source=noor;" & _ "Initial Catalog=accounts;Integrated Security=True")[/CODE] Please help Software Development vb.net | |
Hi IM trying to make a queue of Byte[] every time i click on a button , Very Strait Foreword [CODE]System.Collections.Queue Myqueue= new System.Collections.Queue(20); public byte[] Bytearray = new byte[2]; Myqueue.Clear(); while (Myqueue .Count !=20) { Temp=Calc(Bytearray); Bytearray[0] = temp[8]; Bytearray[1] = temp[13]; Myqueue.Enqueue(Bytearray); }[/CODE] So the Loop is done … | |
Hi, I don't know C# very well, so I did^n't understand where the problem is. Program works without errors. But it doesn't do what I want, when I click on panel1 , not draws rectangle. Maybe, you can realise something wrong in the code. [CODE] using System; using System.Collections.Generic; using … Software Development | |
How do I go about showing data in a database in a table or rich text box, so far I have this: [CODE=C] public static void showDogs() { OleDbConnection myConnection = GetConnection(); string command2 = "SELECT * FROM dogs"; OleDbCommand myCmd2 = new OleDbCommand(command2, myConnection); try { myConnection.Open(); OleDbDataReader myReader … Software Development | |
Greetings. I need help making a dynamic array with 3 columns, the problem is that i don't know at run-time how many rows there must be allocated. So i need to allocate one row every time. I have this as code: [CODE] gchar ***servers_array = NULL; servers_array = realloc(servers_array, (detected_netstat_servers … Software Development c | |
i am writting a program for finding the no of keyword ( occurances ) and operators occurances. i am taking the all the keywords in an array and all the operators in seperate arrays for each category of operators. char *kw[] = {"auto","break"..."while" }; char *Arth_op[] = { "%","*","+","-","/"}; according … Software Development c | |
Hi, i have a doubt regarding conditional macros and undef directive. can i use undef for a function like - macro, by just specifying the name of the macro with out specifying the argument list as written in line 8. is the code correct with out these statements: [ICODE] #define … Software Development c | |
![]() | A java program which accepts a string from a user, and gives various options to change it case. Options include: [LIST=1] [*]UPPER CASE [*]lower case [*]Sentence case [*]Title Case [*]tOGGLE cASE [/LIST] Software Development java |
Hi all, I'm new to Java. *question:* Can this be done in Java as a desktop application? * * * * * * Among other projects I've been thinking is a Software Robot... kind of a super macro that goes across multiple programs. For example (it could be anything really): … Software Development java | |
Ok, so I have this XML file that I'm reading: [CODE]<?xml version="1.0"?> <APOLLERSETTINGS> <SYSTEM> <VERSION>3.1</VERSION> <SMTPSRV>blue</SMTPSRV> <SMTPPORT>29</SMTPPORT> <SMTPUSR>Me</SMTPUSR> <SMTPPSW>Password</SMTPPSW> <EMAILFROM>lodewyk.duminy@gmail.com</EMAILFROM> <EMAILTO>lodewyk.duminy@gmail.com</EMAILTO> <ALTEMAILTO>lodewyk.duminy@gmail.com</ALTEMAILTO> </SYSTEM> <JOB> <JOBNAME>The Name</JOBNAME> <INPUTFOLDER>C:\</INPUTFOLDER> <FILEMASK>*.txt</FILEMASK> <PROCESSORDER></PROCESSORDER> <RETAINFOLDER>C:\</RETAINFOLDER> <OVERRIDEFOLDER>C:\</OVERRIDEFOLDER> <ERRORFOLDER>C:\</ERRORFOLDER> <POLLINTERVAL>6000</POLLINTERVAL> <JOBBATCHFILEPATH>C:\</JOBBATCHFILEPATH> <JOBBATCHPARAMS>three</JOBBATCHPARAMS> <JOBLOGPATH>C:\</JOBLOGPATH> <JOBEMAILTO>lodewyk.duminy@gmail.com</JOBEMAILTO> <JOBALTEMAILTO>lodewyk.duminy@gmail.com</JOBALTEMAILTO> </JOB> </APOLLERSETTINGS> [/CODE] This is the code that is reading the file: … | |
i have develop a winsock chat and am trying to add a smiley or an emotion to the rich textbox. can anyone help me out plzzzzzzzzzzzzzzz Software Development visual-basic | |
Dear Sir, Please give the idea for linking VB with any Database(Foxpro Or Ms Access) and how can we print the required information from it in a particular format? Software Development visual-basic | |
Hi ! Help me to write source code in VB for neural networks Software Development visual-basic | |
Hi , these days I'm reading the brans kernel development tutorial. and doing it's particles. So last I find to had to read Intel 80386 programmers manual by intel. In section 2.6 Interrupts and Exceptions I asking a theoretical question here. They said Exceptions are synchronous and Interrupts are asynchronous. … Software Development assembly | |
Hi all, I'm new to Java (after years of Visual Basic and VBA). So right now I'm going through a very steep learning curve. I'm trying to figure out (while I bang my head on the keyboard) how to do the following in SWING: - Show mouse coordinates (x, y) … Software Development java java-swing pc-peripheral | |
This is my code so far to connect to a webpage and retrieve the html: [CODE]#include <winsock2.h> #include <windows.h> #include <iostream> #pragma comment(lib,"ws2_32.lib") using namespace std; int main (){ WSADATA wsaData; if (WSAStartup(MAKEWORD(2,2), &wsaData) != 0) { cout << "WSAStartup failed.\n"; system("pause"); return 1; } SOCKET Socket=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP); struct hostent *host; … Software Development c++ | |
Hi great ones, i have a form that i save employees photos to server and URIs to DB. Doing some tests yet. I can save in the server without no problem. the javascript callback function aint being fired .. dont know why; below is the code.. i appreciate any help … Software Development javascript-jquery json python xml | |
Hey guys, I have been trying to write a basic program that will send and receive MIDI. I have successfully managed to send a MIDI message, but am unable to come up with the code that will receive a MIDI signal from an external source and simply display the information … | |
Hi there I'm hoping there's an easy answer to a (hopefully) not too long-winded issue... I'm building a C# web client using a proxy wsdl.exe'd from a wsdl file and six schemas, each in a different namespace. Some schemas extend complex types in others. When i get a soap:Fault from … Software Development c# client-server web-server xml | |
Hi...kindly tell me if the following compiler accepts vectors. C++ g++ (GCC) 4.1.2 Software Development c++ | |
Hai Friends ! This is my first thread .I 'm developing a vb 6.0 application with barcode scanning enalbled.It's for Photo labs.I 've a bar code scanner connected via USB.It reads the barcode values .No problem with that.But when ever I scan a barcode,the value is stored in the text … Software Development visual-basic | |
I made this code to generate a textbox when I click on the button the problem is that I want to read text from those textboxes as make a arraylist that receive the texts from those text boxes [CODE] private int count=0; private void New_Click(object sender, EventArgs e) { TextBox … Software Development | |
hello all, i m newbie here... and i have one silly question to ask about inet ftp... i was trying to ftp using inet ftp in vb6, but keep getting 'variable not defined' error for my Inet1 (eg: inet1.URL = host_name) do i need to register any component or add … Software Development visual-basic | |
hi,.im a first year student taking information technology, never mind where i am studying.,,,i just want to ask some tips to understand easily turbo c.,. Software Development c | |
I use wamp as my server. I used mysql-connector-java-5.1.5-bin.jar It worked ok/ But I set up same in another computer it gives an error saying ([I]In Jcreator[/I]) [B]Error: Error reading C:/Program Files/java.../ mysql-connector-java-5.1.5-bin.jar ; Error in opening zip file[/B] What is this error & what can I do? Plz help. … | |
Hi all... First post here, be gentle. I'm trying to get this to work, and there's no output. This is from the K&R book [v2] exercise 1-14, the prompt is in the header. I added comments for readability, and please comment on anything you believe needs improvement. Thank you for … Software Development c | |
I have been given a project and i need to create a button to calculate N!. I've been trying to figure it out for a while now and I can't. Any help would be nice. Software Development vb.net visual-basic | |
Hello! I am currently working on a project with a few others. Everything has went on smoothly until now. When I run the project in NetBeans, everything is working as intended. All images show up like they should. If I start the jar file with the console commands (java -jar … Software Development java java-netbeans | |
Hello all. I have a small problem, the next code finds the neden content, but it doenst print it: [CODE]$string = "#324423asdd asd 'BecamePosters' "; if($string =~ m/'[a-zA-Z]{1,40}'/) { print "ok!\n"; print $1; } else { print "not ok!\n"; }[/CODE] It only prints "ok!\n" but nothing more. Also triyed m/'*'/ … | |
I am making my project using netbeans 6.5. I want to open different frames in the same parent frame, But I am unable to do so. For e.g. my first frame is a login page. After Logging in the 2nd frame is displayed. But I want to display the 2nd … Software Development java | |
Hi, I get the following error when I Rebuild the Solution in Visual Studio: [b]The control WindowsFormsApplication1.MyPanel has thrown an unhandled exception in the designer and has been disabled[/b] Here is what I did to get this error: 1) Started a new project and added a new User Control (MyControl) … Software Development visual-studio | |
I've created a recordset in VB Express 2008 as follows [code] rsmembers = New ADODB.Recordset with rsmembers .Source = cn.Execute("SELECT * FROM members") .ActiveConnection = cn .CursorType = ADODB.CursorTypeEnum.adOpenDynamic .LockType = ADODB.LockTypeEnum.adLockOptimistic .CursorLocation = ADODB.CursorLocationEnum.adUseServer .Open("members", Options:=ADODB.CommandTypeEnum.adCmdTableDirect) .movefirst .Fields("Active").Value = vbFalse [/code] but the error window tells me that .fields("active") … Software Development open-source vb.net | |
hello everyone .. im writting a C program that requires to insert integers from a text file .. the contents of the text file are: 1:2:4 4:12:5 13:7:5 1:20:4 how can i read each number and define it as an integer ???? please HELP !! [CODE] #include <stdio.h> int main() … Software Development c c# c++ file-system | |
Hi, I'm binding data table to datagrid but i'm not sure how to delete the empty cells in that data table Plz find the below image could anyone suggest the best way to delete the empty cells as marked in black pen Thanks Software Development vb.net | |
I have one or more functions separate from main() , that besides the return value , must also return the time it tooked to process. How can I do that ? Software Development c | |
I have a combobox that pulls a list of values from a database. When a new entry is entered I want an entry in the combobox to read "New record". However, from what I have seen I can only insert and object, such as a DataRow, into the combobox. Is … Software Development vb.net | |
Hi, ive been looking for a solid java community to help me when im tearing out my hair :) Basically ive constructed a GUI that has to represent the same look and functions of the typical windows calculator. Ive made 4 classes 2 do this, my reasoning so it was … Software Development gui java java-swing | |
hi i want to create menu with icon beside it, but i don't know how and with which gui lib is it possible? please help me. | |
I finished my tic tac toe game program, I`d like to know if anyone can tell me what I need to do in order to send the .exe file to someone and make it so the file executes without problems. Thanks guys Software Development c++ | |
I get into DataSet CostumerNames and Hours (type DateTime) of their registrations. I would like to sort customers my time of registration (time of a day). I show both in listView. This is my code: [CODE] string DanesRezervacije = "SELECT Stranka.ImePriimek, Naročilo.RegisterTime FROM Stranka, Naročilo " + " WHERE Stranka.IDStranke … | |
OK so here is a fighter game I made..except my fighters power won't decrease and I can't get my fighters names to show up....*sigh*... any idea.. My functions could be wrong.. but I always thought it went above int main().. #include<iostream> using namespace std; int fighterOne (char fighter1Attack){ string fighter1Name; … Software Development c++ | |
Today is my second day with *<Accerlerated C++>,* and so far I've read until chapter three. Below is the code written in the book and as a part of solving the chapter's exercise problem 3-0, I typed and compiled the code. (using vc++ 6.0) I assumed there would be no … | |
with the vb.net default color dialogbox how can you handle the cancel buttons click event ? if the cancel button is clicked, i dont want it to make any changes with the selected color. as of now if i click cancel it still edits the colors. thanks Software Development vb.net | |
is it possible in c program to run two processes at the same time.For example i want to run a timer along with my application .The timer must be shown on the screen.Thanks in advance Software Development c | |
I am useing the OpenFileDialog component with a Button Sub to use the text file that the user selects (it can change everyday) in the next part of my program that will read that file and then covert it into an xml format. How do I get the second part … |
The End.