132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for agilson

[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"); …

Software Development c c# c++
Member Avatar for agilson
0
111
Member Avatar for SoulReaper1680

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 …

Software Development c++ opengl
Member Avatar for SoulReaper1680
0
121
Member Avatar for jhayar

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++
Member Avatar for mrnutty
0
62
Member Avatar for deonis

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
Member Avatar for deonis
0
209
Member Avatar for flatree

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
Member Avatar for snippsat
0
82
Member Avatar for tqmd1

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
Member Avatar for sknake
0
97
Member Avatar for FX2236

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 …

Software Development c c# c++ queue
Member Avatar for sknake
0
202
Member Avatar for tuba-zeynep

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
Member Avatar for ddanbe
0
191
Member Avatar for szkoda

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
Member Avatar for szkoda
0
139
Member Avatar for kwixbit

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
Member Avatar for Narue
0
169
Member Avatar for Iam3R

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
Member Avatar for Narue
0
83
Member Avatar for Iam3R

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
Member Avatar for Narue
0
111
Member Avatar for sravan953

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
Member Avatar for smartbloggerz
0
251
Member Avatar for jorgelex008

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
Member Avatar for JamesCherrill
0
228
Member Avatar for P00dle

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: …

Software Development java xml
Member Avatar for P00dle
0
116
Member Avatar for jeffrey4u

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
Member Avatar for jeffrey4u
0
183
Member Avatar for suniljoseph

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
Member Avatar for vb5prgrmr
0
112
Member Avatar for sanmano
Member Avatar for vb5prgrmr
0
241
Member Avatar for NicAx64

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
Member Avatar for NicAx64
0
192
Member Avatar for jorgelex008

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
Member Avatar for MxDev
0
304
Member Avatar for gsingh2011

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++
Member Avatar for marco93
0
743
Member Avatar for fferrandini

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
Member Avatar for fferrandini
0
121
Member Avatar for winn_man

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 …

Software Development gui java
Member Avatar for winn_man
0
100
Member Avatar for Radiodave

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
Member Avatar for sb20642
0
585
Member Avatar for Nikhar

Hi...kindly tell me if the following compiler accepts vectors. C++ g++ (GCC) 4.1.2

Software Development c++
Member Avatar for Nikhar
0
65
Member Avatar for raguapk

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
Member Avatar for debasisdas
0
139
Member Avatar for Egypt Pharaoh

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
Member Avatar for avirag
0
98
Member Avatar for harn991982

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
Member Avatar for abu taher
0
110
Member Avatar for anatz

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
Member Avatar for gerard4143
0
76
Member Avatar for jrosh

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. …

Software Development java mysql
Member Avatar for jrosh
0
107
Member Avatar for kelevra

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
Member Avatar for jonsca
0
124
Member Avatar for ALex_ice

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
Member Avatar for ALex_ice
0
243
Member Avatar for Acegikmo

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
Member Avatar for MxDev
0
117
Member Avatar for jen140

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/'*'/ …

Software Development perl regex
Member Avatar for jen140
0
101
Member Avatar for rpraveenr

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
Member Avatar for MxDev
0
115
Member Avatar for moroshko

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
Member Avatar for moroshko
0
624
Member Avatar for Bamboozled

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
Member Avatar for jlego
0
153
Member Avatar for moomeen

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
Member Avatar for mrnutty
0
82
Member Avatar for telltouday

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
Member Avatar for telltouday
0
300
Member Avatar for Eko

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
Member Avatar for motogeeeksatyam
0
124
Member Avatar for jt_murphree

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
Member Avatar for jt_murphree
0
827
Member Avatar for PieMan2004

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
Member Avatar for it-student
0
716
Member Avatar for mehdi0016

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.

Software Development gui python
Member Avatar for mehdi0016
0
105
Member Avatar for laelzio.mosca

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++
Member Avatar for laelzio.mosca
0
114
Member Avatar for Mitja Bonca

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 …

Software Development dataset listview
Member Avatar for Mitja Bonca
0
121
Member Avatar for cjwenigma

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++
Member Avatar for peter_budo
0
130
Member Avatar for Earendil

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 …

Software Development algorithm c++ ios
Member Avatar for Yiannis_Sp
0
280
Member Avatar for jlego

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
Member Avatar for jlego
0
99
Member Avatar for marirs07

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
Member Avatar for gerard4143
0
91
Member Avatar for dwisely

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 …

Software Development vb.net xml
Member Avatar for wasyazwan
0
118

The End.