132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RimBamBoom

how can I compile PublicKeyToken into .NET dll? I am new to VS2008 and C#, I have the need to set the PublicKeyToken, How can I do this? TIA

Software Development asp.net
Member Avatar for sknake
0
147
Member Avatar for MrMoogles

Hey! Im new to this C++ stuff and the first major problem I run into is a two dimensional array. I have to declare the array and store data values from ANOTHER data file. I have some of the code written down. Please help and tell me what I'm doing …

Software Development c c# c++
Member Avatar for necrolin
0
762
Member Avatar for dheerajsuthar

Hi, I was honing my linux programming skill when this nuisance started bugging me. I wanted to create an empty file creator program. While creating a large file it must print # for progress bar. But the output shows it happening reverse way. ie. first it copies file and shows …

Software Development c multithreading
Member Avatar for dheerajsuthar
0
170
Member Avatar for gcardonav

Hi: I am trying to create a loop for a code. My loop is supposed to find all the combinations using the numbers 1 and 0 depending on the length of my string. For example if I set up my string to be 3 then the program should give me: …

Software Development c++
Member Avatar for dkalita
0
186
Member Avatar for cuesent

Getting error for the simple code Please help me out. Thank you[code]I have a textbox and one table. Once the user enters data in the textbox & click save button, the data gets saved to database. I've written following code but I'm getting following error. Please help me out. Thank …

Software Development dataset vb.net
Member Avatar for cuesent
0
157
Member Avatar for aomran

this progran will simulate a process queue, giving time slices based on the priority. The process entries will be in a file, one per line.the data is the start time, priority level, total time to run and process name. when I run the program I got few problem 1. how …

Software Development c++ queue
Member Avatar for aomran
0
129
Member Avatar for kplcjl

On visual studio watch1 "NumbersLcl(xc, yc)" is 6, "NumbersLcl(x1, y1)" is 7. Both "y1" and "yc" are 0. All variables are byte and NumbersLcl is (2,2) as byte. How can the following statement evaluate as true? If y1 = yc And NumbersLcl(xc, yc) = NumbersLcl(x1, y1) Then isfound = False

Software Development vb.net visual-studio
Member Avatar for kplcjl
0
191
Member Avatar for iamsmooth

Hi, I'm writing my first program for my second year comsci class and I'm still learning java along the way. Anyways, the signature for one of my functions has to be: "public static BigInteger fNumberRoutes( int n, int m )" So I assume it's a function that returns a BigInteger. …

Software Development java
Member Avatar for jmaat7
0
2K
Member Avatar for marlinssmith

Hi, I am trying to write a program that finds the minimun and maximum number in an input set of numbers. I am using a loop to update the set as the program reads the cin. Example code: [CODE]min = max = -1 cout << "Enter termination value that will …

Software Development c++
Member Avatar for mrnutty
0
115
Member Avatar for adi.shoukat

I want to write a Code in C which can create copy any given file (txt, bmp, jpg, pdf etc) what i've written so far is: int main(){ FILE *fp; char ch; FILE *fpW; if((fpW = fopen("file2.bmp","w"))==NULL) { printf("Cannot open Destination file.\n"); exit(1); } if((fp = fopen("file.bmp","r"))==NULL) { printf("Cannot open …

Software Development c++ file-system image open-source pdf
Member Avatar for Dave Sinkula
0
212
Member Avatar for danielagaba

hi i'm trying to add a feature to an application where users of my application (installed on different computers) can share access db files when updates are made by one user but dont know where to start. Is there a tutorial i could look at or sample source code?

Software Development vb.net
Member Avatar for TomW
0
285
Member Avatar for klabak85

Hi all, A question for you. I have these types of files at my work (.sj extension) that I need to work with and I'm wondering if there is a way to read from the file like a text file (the .sj files can be opened / read by notepad). …

Software Development file-system python
Member Avatar for jlm699
0
131
Member Avatar for god0fgod

I've created a few functions to be used with pygame which are based on anti-aliased curves. At the moment and likely forever, it has two useful functions: aacircle(s,x,y,r,colour): Draws an anti-aliased circle on the surface s at the starting point x and y with the radius r. The circle will …

Software Development python
0
786
Member Avatar for Zero-Method

ok now what i want out of this program is to be able to ask the user how large the height and width of the drawing should be. (i seem to have this down ok or at least i think i do) i also want to be able to have …

Software Development java java-swing
Member Avatar for VernonDozier
0
936
Member Avatar for TinoMclaren

Hello all: I wanted to remove the padding on my datagridview cell and used some code I found here on this forum.. this.dataGridView1.CellPainting += new DataGridViewCellPaintingEventHandler(dataGridView1_CellPainting); void dataGridView1_CellPainting(object sender, DataGridViewCellPaintingEventArgs e)//remove padding { // ignore the column header and row header cells if (e.RowIndex != -1 && e.ColumnIndex != -1) …

Software Development
Member Avatar for TinoMclaren
0
747
Member Avatar for whitetigerclaws

I have a project were the user enters an arrival date and a departure date and clicks the Calculate button or presses the enter key and the app. calculates, formats, and displays the number of nights and the total price. The price per night should be $115. The application should …

Software Development
Member Avatar for sknake
0
962
Member Avatar for mansi sharma

1) What is versioning? 2) What is DLL hell? 3) Destructor - It is called automatically when object is destroyed. Rite or wrong? 4) Finalize or destructor are same?? They have same definitions. 5) Interfaces vs. Abstract Classes? 6) BCL vs FCL?

Software Development vb.net
Member Avatar for sknake
0
145
Member Avatar for kutchbhi

Trying to make a form's background transparent, without it losing its ability to receive clicks. this.Opacity makes the whole form transparent (not just the background [CODE] BackColor = Color.Red; TransparencyKey = BackColor; [/CODE] makes the background of the form transparent and click through-able. I want the form to be transparent …

Software Development
Member Avatar for serkan sendur
0
333
Member Avatar for MStan537

This code was originally for an assignment. I met the requirements of the assignment but wish to expand the code to further check for valid input. I am quite new at this but trying to learn... Anyway, the problem is this. I can check if the float is non-negative with …

Software Development c
Member Avatar for MStan537
0
171
Member Avatar for jakesee

Hi all, How about this? In this example, what is the correct way to initialise Secret mission? [CODE]class Secret { private: int data; public: Secret(int _data) { data = _data; } }; class Mission { public: Secret mission; Mission(); { } };[/CODE] the only way i know of is using …

Software Development c++
Member Avatar for Tom Gunn
0
148
Member Avatar for Demon4231

I have a program that allows a user to create a number of Textboxes that they specify. I would like to know how to get the information from each of those Textboxes in a different Sub. Here is code on creating them: [CODE] Dim txtLetter(x) As TextBox txtLetter(x) = New …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
76
Member Avatar for hery

I'm using netbeans 6.7.1 and i'm trying to connect to the sql server 2000 database that i have created and i get this error message, SQL Exception: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host pc05801, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an …

Software Development java microsoft sql
Member Avatar for cgeier
0
198
Member Avatar for pansen24

i m doin something like: editorPane.setPage(urlString); i m using this function for displaying a webpage. now i used hyperlinklistener so when i click on link it goes to pointed url.but i m not able to use other component of the page like Buttons,checkboxes,Submitbutton.Can you explain how to do it?

Software Development html-css java
Member Avatar for quuba
0
110
Member Avatar for markrezak

[CODE]ok ok i got it now right i copy it to vector and sort it..... here is the code #include <iostream> #include <fstream> #include <algorithm> #include <string> #include <map> #include <vector> using namespace std; typedef map<string,int> word_count_list; struct val_lessthan : binary_function < pair<string,int>, pair<string,int>, bool > { bool operator() (const …

Software Development algorithm c++ display
Member Avatar for markrezak
0
273
Member Avatar for complete

How do I find the Process ID of a program? I need to know it to attach a process for WinDbg. And, yes, I tried googling this question but everything seemed to be for a Linux system.

Software Development
Member Avatar for chathuD
0
300
Member Avatar for franceee

I am trying to get my button1 on window1 to close window1 and open window2, have you got any ideas on how this can be achieved. Thank you in advance

Software Development
Member Avatar for DdoubleD
0
145
Member Avatar for tiwas

Hi, This is vaguely related to my last post, but not entirely so I'll make a new one. Hope that's consistent with the board rules :) I have a path [CODE]String path = "C:\\test\another\\directory\\";[/CODE] It seems the trailing slash is appended automatically when using the OpenFileDialog, so I used to …

Software Development
Member Avatar for Rashakil Fol
0
146
Member Avatar for evilguyme

there is fstream in normal C++ that allows you to do file i/o but how do i do this in managed C++ in a forms application? i read about a config file but i dont quite get it.. thnx.

Software Development c++
Member Avatar for evilguyme
0
235
Member Avatar for manavsm

Error: assignment makes integer from pointer without a cast ..i want to build an student database using linked list and in c language...but i am unable to create nodes for each variable like age,name,...i did not post the entire program but the concept is in the code...plzzz help..just tell me …

Software Development c linked-list
Member Avatar for yellowSnow
0
1K
Member Avatar for nateuni

Hi, I have a struct that contains many different datatypes including arrays of other stucts, ints, floats, chars, char arrays etc. I have dynamically declared a ptr to the struct in main. I then pass the ptr deep into my functions and sub functions. It is a struct that holds …

Software Development c
Member Avatar for nateuni
0
130
Member Avatar for serkan sendur

does windows OS come with any built-in c compiler? without downloading any compilers can it compile c or any other language?

Software Development c
Member Avatar for yellowSnow
0
2K
Member Avatar for erckle

Sorry guys...this is probably really trivial but i'm new to Python. How do you remove the first digit from a five digit number called x and then add this new number to the original x. I need to be able to remove any of the digits and add the new …

Software Development python
Member Avatar for leegeorg07
0
4K
Member Avatar for ballz2k

Can someone enlighten me on where to begin? I want to learn java along with servers i.e. apache / tomcat. Just point me in the right direction and I'll get right to it. How long will it take for me to learn this stuff? Any info would be greatly appreciated.

Software Development apache java
Member Avatar for pooja.ui7
0
109
Member Avatar for Samyx

[code]void swap (int *first, int *second) { int temp = *first; *first = *second; *second = temp; } int main () { int i = 5, j = 6; swap (i, j); printf ("i=%d j=%d\n", i, j); } [/code] warning: [37] $ gcc -o ex321 ex321.c ex321.c: In function `main': …

Software Development c
Member Avatar for Samyx
0
81
Member Avatar for johndoe123

Can some help me with a random between two choices ? Something like: L = random(A, B); and in L to have A or B. Thx.

Software Development c c# c++
Member Avatar for Nick Evan
0
10K
Member Avatar for Vallnerik

I have a question that pertains to any programming language but since C/C++ is my primary language I'll ask it here. I'm designing a test program that will simulate the outcome of a 12 round fight between 2 boxers. Now my question is, is there a limit or number I …

Software Development c++
Member Avatar for mrnutty
0
130
Member Avatar for Samyx

I am using the file ex3test.c to run the following program, but the UNIX gives the errors: [38] $ gcc -o ex3test ex3test.c Undefined first referenced symbol in file discrete_uniform /tmp/scratch.hYayTQ/ccRDoT1o.o printFirst /tmp/scratch.hYayTQ/ccRDoT1o.o addToList /tmp/scratch.hYayTQ/ccRDoT1o.o printSecond /tmp/scratch.hYayTQ/ccRDoT1o.o disparity /tmp/scratch.hYayTQ/ccRDoT1o.o clearList /tmp/scratch.hYayTQ/ccRDoT1o.o ld: fatal: Symbol referencing errors. No output written to …

Software Development c unix
Member Avatar for Samyx
0
175
Member Avatar for acidik_4

hi Ive been working on a program that finds hidden files copies the contents and then deletes the hidden file so far ive got system("set OLDDIR=%CD%&&@ECHO OFF&&ECHO Finding Hidden Files&&dir /ah&&PAUSE"); printf("Please Choose The Files You Want To repair separated by spaces\n"); scanf("%c",&d1); getchar(); string cmd="echo"+d1; system(cmd.c_str()); but im having …

Software Development c++
Member Avatar for acidik_4
0
82
Member Avatar for geoffy0404

[CODE]int main() { int assignment1[30]; " "; int assignment2[30]; " "; int assignment3[30]; " "; int assignment4[30]; " "; int assignment5[30]; " "; int assignment6[30]; " "; char totalPoints = "assignment1; + assignment2; + assignment3; + assignment4; + assignment;5 + assignment6;"; printf(" Grade calculator ... By Geoffrey \n\n"); printf(" Please …

Software Development c
Member Avatar for chesspest
0
119
Member Avatar for kyumi419

hhmm.. are there functions to get mode and frequency in turbo C? :-/

Software Development c
Member Avatar for Tom Gunn
0
56
Member Avatar for I_Empire

I wrote a template function that converts any numerical value to string : [code] template <class T> string ConverttoS(T input) { std::stringstream out; out << input ; return out.str(); } [/code] now i want to use this template function inside a class , but if i did so i would …

Software Development c++
Member Avatar for siddhant3s
0
278
Member Avatar for brightstar2016

Hi members! I want to create an instant messenger in asp.net using C# but i don't know how to proceed and i have to complete it within one month. its my graduation project. plz help me. you can mail me to [email]brightstar2016@gmail.com[/email]

Software Development asp.net
Member Avatar for brightstar2016
0
100
Member Avatar for GDICommander

Hi, everyone! I am using Interop.Photoshop.Dll from my C# Windows Forms application. I am using a com object that Adobe Photoshop CS4 provides to use Photoshop in my C# program. I'm using the ApplicationClass class to launch Photoshop. I have Photosoft CS3 and CS4 on my machine. When I do …

Software Development adobe c#
Member Avatar for sknake
0
982
Member Avatar for Alphard

I have 3 Users and I have a different environment for each. How do I code that in my initial form(login form)? I need help: My sample If dr.Read=true then Dim adp as New OleDbDataAdapter("Select * From tblUSer WHERE Security_Profile='User 1'","PATH") Dim dt as New DataTable adp.Fill(Dt) Homepage.Show() Homepage.Button1.Enabled=False Form3.GroupBox1.Enabled=False …

Software Development vb.net
Member Avatar for Alphard
0
99
Member Avatar for Tajna

Hello! I wonder how and where can I see a sqlite database that i have created in c++, if it is possible at all? I would like to see if the db exist, and what are the inputs, to check if i have inserted valuations properly.. Thank you. T :)

Software Development c c# c++ sqlite
Member Avatar for Tajna
0
79
Member Avatar for procomp65

Hi I need to format a decimal value to time and then display it in a textbox in the proper format. eg: double value = 1.25 to "1:15" I do not have a clue how to go about it Thanks

Software Development mathematics
Member Avatar for procomp65
0
3K
Member Avatar for vextorspace

Hello, I am trying to compile a working opengl project into an executable for windows. I ran into several import issues in the python imaging library, Numeric, and OpenGL. I managed to resolve all but the OpenGL ones. There is quite a bit of conflicting info on the subject out …

Software Development opengl python
Member Avatar for vextorspace
0
177
Member Avatar for shashikant.v

public class OpenMenuListener implements ActionListener { public void actionPerformed(ActionEvent ev) { if(ev.getSource() == a) { f2 = new JFrame("shashikant verma"); p2 = new JPanel(); f2.getContentPane().add(p2); String str = "<html>"+"<h>"+"<P ALIGN = \"CENTER\">"+"<i>"+"<font size = \"10\">"+"<font color= \"#800080\">"+"CORRECT DEFINITION AND<br>"+"STRUCTURE OF FUNCTION y = f(x) "+"<br>"+"</i>"+"</h>"+"<P ALIGN = \"LEFT\">"+"<font size = …

Software Development data-science data-structure java java-jsp
Member Avatar for shashikant.v
0
219
Member Avatar for TomB1988

Hi there, I'm implementing a small e-mail sending method in the program I am currently writing and heard that CDO was a good way of doing it. I have no experience with it in the past, and the only tutorials I have come across are aimed at web-based apps using …

Software Development c#
Member Avatar for TomB1988
0
110
Member Avatar for phoenix911

hey every1 im struggling with something simple, that i cant figure out, or im on the wrong track. the user must enter an id of any sort, 1 - 8 numbers, if it is less than 8 numbers it must be left padded with 0s. and the 1st character must …

Software Development
Member Avatar for phoenix911
0
606

The End.