8,298 Topics

Member Avatar for
Member Avatar for juzt182

I am Trying to use the accesschek method for authentication in the azman but i always get this error message "Value does not fall within the expected range." Here is my code Anyone can help me? I am running this application in windows xp AzAuthorizationStore store = new AzAuthorizationStoreClass(); store.Initialize(0, …

Member Avatar for post2ankit
0
191
Member Avatar for bodikon

Hey All! I have searched around on Google and have found nothing! I want to know how to make custom controls in C#. But customly designed. For example I don't want to use the custom c# 'Button', but design my own in Photoshop, and bring it in giving it all …

Member Avatar for Diamonddrake
0
353
Member Avatar for john_beginner

hello every one 'm quite new to c# i have bit idea abt assembly that , it can store the version information exe,dll info but how it's work & i have to make one pro. tha contain name,version info. abt it so how to beggin it pls provide ur valuable …

Member Avatar for papanyquiL
-1
80
Member Avatar for metalclunch

Can anyone please tell me what does the this Function do? I understand everything till the "(n * GetPower(n, power - 1))" part. I just can't understand it. I do realise what the "n * " does, it multiplies N to the other side, and I also get what "GetPower" …

Member Avatar for metalclunch
0
91
Member Avatar for shobhitzone

Hi All i m reading Xml file attchment in email using pop3. but i m getting extra char in xml after xml read. [code=xml]<FinalDraft DocumentType=3D=22Script=22 Template=3D=22No=22 Version=3D=221=22> <Content> <Paragraph Type=3D=22Shot=22> <Text>=E2=80=9Clighting is everything=E2=80=9D</T= ext> </Paragraph> </Content> </FinalDraft >[/code] like -- =22 and 3D <T=ext> pls help me and give me …

Member Avatar for shobhitzone
0
113
Member Avatar for kashn

Hi, I'm trying to include a Intellisense in my Rich Text Box, but i'm having problems. I'm trying to implement the one from: [url]http://www.codeproject.com/KB/cs/diy-intellisense.aspx[/url] Can someone please point me to a much more simpler open source intellisense for C#, importing methods from a DLL file? - Thanks!

Member Avatar for kashn
0
152
Member Avatar for jake43

I am new to c++ and i advice for this particular assignment. I new to programming. The instruction is to use while loop for the two output process and for loop for the other 2 output. #include <iostream> #include <iomanip> #include <math.h> using namespace std; int main() { system("color 4"); …

Member Avatar for VernonDozier
0
112
Member Avatar for jake43

I have an issue with this assignment, the instructor says that I use the brackets incorrectly that is why the program will not compile. Please provide feedback to correct program. #include <iostream> using namespace std; int main() { system("color 4"); restart: int number, ans; number = rand() % 100 + …

Member Avatar for Salem
0
205
Member Avatar for jen140

Hello all. I have some problems with compilation while working with WinApi. Here is the code: [code=c++]// include the basic windows header file #include <windows.h> #include <windowsx.h> // the WindowProc function prototype LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); // the entry point for any Windows program …

Member Avatar for jen140
0
255
Member Avatar for iammfa

Hi, all I'm beginner in c++, and sure exercises important for any beginner, so i Google a lot about " c++ answered exercises ", and may be i can't search well, so if someone know any " c++ answered exercises " links, tell me please regards iammfa

Member Avatar for Salem
0
66
Member Avatar for k.d.m

Hi every one ; i need to change default printer settings,especially tray selection method . please help me.

Member Avatar for ddanbe
0
93
Member Avatar for jaaam

I am very new to c#. I would like to get into c#. Kindly give me suggestions in where to start c# with. Suggest me some books too. Is "Head First C#"book is that good for begginers Thanks, Jam [url]http://prog2impress.com/[/url]

Member Avatar for k.d.m
0
167
Member Avatar for ghaith

Hello, I have followed a guide to use a library created in C# with the Register COM Interop option using Visual studio 2008 and .NET 3.5 (also tried on 2.0 and vs 2005) i then created a tlb from the output dll using regasm filename.dll /tlb:filename.tlb now back in excel, …

Member Avatar for ghaith
0
181
Member Avatar for john_beginner

[code=.cs] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { double no1, no2,ans; void commonEvent(object sender, EventArgs e) { Button b = (Button)sender; if (b == btn0) TextBox1.Text += "0"; else if (b …

Member Avatar for madz_feat
0
122
Member Avatar for majestic0110

Hi all I have a program that interacts with files. Now I would like these files to have thier extensions changed upon processing in my program. Any good tips/tutorials you can throw at me? Many thanks.

Member Avatar for nirmalsat
0
142
Member Avatar for cresol

[B]how can i sum the sum of fields in crystal report C# i have report take sum of any field such price end of group i want to sum of these sum[/B]

Member Avatar for kvprajapati
0
56
Member Avatar for atreyeepal1

i'm tying 2 describe my problem here.plz solve it for me.. 1. generate a random number b2in 0 and 1 (r); 2. do t=r*2.5 ; 3. do w= t/100 4. keep track of all t1,t2,t3.... in an array and do the sum S=(t1+t2+t3......) ; 5. repeat steps 1,2,3,4, till S<100 …

Member Avatar for Dream2code
0
155
Member Avatar for bungeeboy

hi, Im trying to see if an Option button is checked or not. can someone help me out with the syntax please. I can already read cells etc from a worksheet, so i just need the option button. all i want to do is set some text if an option …

0
46
Member Avatar for J@ckel

there is something i want to ask about this [code] LPDIRECT3D9 pdirectX9; [/code] I understand this is a pointer but why do we not use the * like this [code] LPDIRECT3D9 *pdirectX9; [/code] when i look over my code it confuses me with a struct EDIT: doing some reading into …

Member Avatar for thelamb
0
142
Member Avatar for serkan sendur

hi guys, i need to encrypt a plain text limited to 15 characters but the output the encryption must also be 15 characters since i am limited to database constraint. how can i do this? thanks

Member Avatar for Tom Gunn
0
513
Member Avatar for iammfa

Hi, in the next example code: [code=cplusplus] #include <iostream>; using namespace std; #include <iomanip>; int main(int argc, char *argv[]) { for(int i = 1; i <= 28; i++) { cout << setw(3)<< i; if(i%7 == 0) { cout << endl; } } system("PAUSE"); return 0; }[/code] i compiled and i …

Member Avatar for JameB
0
106
Member Avatar for john_beginner

hello all in vb we can use controll array to make the calc so with in single block we can write our entire code Is there any way to make calc in c# like vb's controll array ?? pls provide ur suggetion

Member Avatar for john_beginner
0
968
Member Avatar for fafi_ali

hi all in fact i made updating ,deleting,insertion in my datagridview normally before i made paging in it but after i made paging when it deletes or updates a record it doesn't execute some instructions related to filling the datagridview and when i try to update it removes the selected …

Member Avatar for fafi_ali
1
86
Member Avatar for sagyy

can who suggest me for c mini project .... u can also give source code ..... its so imp. for me ..... plZZZZZ..... SNIP

Member Avatar for tux4life
-1
42
Member Avatar for Mortez Maya

Hi everybody. Do you know what's equal for code "app.patht" in c#.net 2008 ? I tried "Application.ExecutablePath" and "Application.StartupPath" but they didn't work. I think they have their own name spaces that I havent added them.

Member Avatar for Mortez Maya
0
761
Member Avatar for shou2009

Hello everybody, I need your help for my C project..... The details of the program is given below :---- 1) [B] The input of the program will be another C program, and that is from a file.....( Please note this carefully)[/B] 2) [B] You have to check the syntax of …

Member Avatar for Nick Evan
0
298
Member Avatar for joker1379

can someone help me wit this, why does my form becomes unresponsive when i execute this code: [code=c#] private Thread trd; private int y = 0; delegate void MyDelegate(bool show); private void button1_Click(object sender, EventArgs e) { trd = new Thread(new ThreadStart(this.ThreadTask)); trd.IsBackground = true; trd.Start(); } private void ShowProgressBar(bool …

Member Avatar for serkan sendur
0
106
Member Avatar for Shaitan00

I have a little situation that I can't seem to resolve and was hoping someone might have some suggestions ... I have a Windows Service (Serv.exe) which runs under LocalSystem when a user is logged-on (it is only running when users are logged-on), this service is responsible for performing various …

Member Avatar for angilbert
0
207
Member Avatar for procopio

Hi, does anyone know how to access a sql .mdf file directly using c# without using SQL server. I am planning to make an portable application with a database on a flashdrive, i really need some help.. thank you :)

Member Avatar for procopio
0
68
Member Avatar for kralco626

current code: [icode]Response.Redirect("DeviceInformation.aspx?arg=" + e.CommandArgument);[/icode] which redirects to a page with a data grid. The argument is passed into a stored proc on a database and the infor is returned in a grid. What i want, is the same thing, but, open it in a new page. So something like: …

Member Avatar for kralco626
0
286
Member Avatar for rcrosenb

I'm trying to write a program that will use the content in a flash video player as an input stream in C#. Any help on this subject would be greatly appreciated. Thanks

Member Avatar for rcrosenb
0
52
Member Avatar for tj_amarnath

Hi friends, i want to query from excel data(sheet1) and create pivot table in sheet2 and copy that pivot table into .net data table. Is it possible? if yes, plz tell me how to do this? For example my query is "select productname, cost from sheet1" then from query output …

Member Avatar for kvprajapati
0
460
Member Avatar for apease11

Does anyone know how to accomplish this? Or know of any Open Source C# Web Browser? I'm trying to port one to the Xbox 360, but I don't know where to begin for programming a Web Browser without a GUI. Thanks.

Member Avatar for kvprajapati
0
81
Member Avatar for Poab9200

Aside from many projects I'm working on to learn more about general programming and this language it self. I was wondering how do programmers create "program specific files". Examples: Microsoft Word has .doc type files. Adobe Acrobat Reader has .pdf files. Photoshop has .psd files. On a current project I'm …

Member Avatar for Poab9200
0
125
Member Avatar for Poab9200

First off. Hello, I'm having issues with my little program I've got a few classes down to a tee and am having issues with the War class. With the following code I iterate a new game of War and I have stats that hopefully will help some figure out whats …

Member Avatar for Poab9200
0
2K
Member Avatar for wingers1290

Hi, i am using this code to show form2 in my program, [code] Form2 form = new Form2(); form.Show(); [/code] however when i want to use the on load event to change a labels name nothing happens, i suspect because it isnt loading just showing, does anyone have a solution …

Member Avatar for wingers1290
0
142
Member Avatar for jake43

I don't understand why this program will not compile please help. This is what the program supposed to do. After the correct number is guessed or all five guesses are used and the correct number is not guessed, the user will see a message that shows the secret number and …

Member Avatar for SeeTheLite
0
104
Member Avatar for lorenb

All, I'm facing a strange issue regarding remoting in C# (entire solution attached). I have a written a very small serial terminal which has a tcp server method: [CODE] TcpChannel ch = new TcpChannel(8085); ChannelServices.RegisterChannel(ch); RemotingConfiguration.RegisterWellKnownServiceType(typeof(Class1), "test", WellKnownObjectMode.Singleton); [/CODE] sever is running, no problem. Client code: [CODE] QAserialTerminal.Class1 c = …

0
65
Member Avatar for swinefish

Hey all I've been developing in c# for a few months now, but to my shame have only recently started looking at threads. And now that I do look at them, I'm having issues... Here's a sample of my code: [code] private void cmdNext_Click(object sender, RoutedEventArgs e) { ... Thread …

Member Avatar for swinefish
0
133
Member Avatar for shaneera

PLEASE EDIT this code if u can . this is my c++ Assgnment it is about reserving air tickets. if u can help me 2 insert delete & Edit a air ticket functions to the main menu please please please help me my friendz... I wz managed 2 save d …

Member Avatar for crunchie
0
198
Member Avatar for wingers1290

Hi, i am creating up to 10 textboxes using the following code: [code] if (textBoxIndex != 11) { TextBox field = new TextBox(); field.Name = "field" + textBoxIndex.ToString(); textBoxIndex++; field.Size = new Size(200, 20); panel1.Controls.Add(field); } else { MessageBox.Show("A Maximum of 10 Areas is Supported"); } [/code] What I need …

Member Avatar for ddanbe
0
283
Member Avatar for ejazmusavi

HI all! in c# when i write a query to update there occurs an error "Syntex Error in UPDATE query" my code is as [LIST=1] [*]string query="UPDATE Employee_Table StartTime='"+txt_StartTime.Text+"',EndTime='"+txt_endTime.Text+"'where id="+txt_id.Text+";"; [/LIST] where Employee_Table is a table in Acces the field StartTime is of date/time data types and EndTime is also …

Member Avatar for arunkumars
0
1K
Member Avatar for Acidburn

Hey guys, Is there a standard library for communicating with a USB device? I've got a smart card reader that works via USB, and implemented the PC/SC interface. To my knowledge and googling I've not been able to answer the question. Surely someone somewhere as written a library to allow …

Member Avatar for ddanbe
0
117
Member Avatar for wingers1290

Hi, I am having problem with a particular process of commands. My program begins with detecting whether a textbox is empty at the press of a button and if it is it will display an error code which i scripted to do, you can create up to 10 textboxes which …

Member Avatar for wingers1290
0
123
Member Avatar for didijc

Hey C++ guru's... I would really appreciate some help... I'm building a general tree (a tree with one root and N children), I've written the code and compiled it quote/un-quote successfully... ...however, I can't seem to get my delete function working properly -- what I want to do is pass …

Member Avatar for wildgoose
0
125
Member Avatar for metdos

This is the situation, I wonder the reason. in .c file this works properly[CODE]vciDeviceOpen(&sInfo.VciObjectId, &hDevice);[/CODE] and this gives error :error C2440: 'function' : cannot convert from 'VCIID' to 'REFVCIID' [CODE]vciDeviceOpen(sInfo.VciObjectId, &hDevice);[/CODE] but in .cpp file this works properly[CODE]vciDeviceOpen(sInfo.VciObjectId, &hDevice);[/CODE] and this gives error :error C2664: 'vciDeviceOpen' : cannot convert parameter …

Member Avatar for m22
0
332
Member Avatar for wingers1290

Hi, Is it at all possible to detect if a user has inputed text into a text box for example. [code] if (textbox1.Text == ("detect if text is in textbox") { // do something } [/code]

Member Avatar for wingers1290
0
265
Member Avatar for Rofling Waffles

Hi, anyways after few hours of searching why I was having adding a database to my application I found out i was having some permissions issues!! DAMN YOU VISTA! Anyway, now my question is how start using like Inserts, or just to be able to look at my table in …

Member Avatar for kvprajapati
0
88
Member Avatar for brookywat

Hello, I am new to html and c# my life been in engineering. I am trying to create a simple login page, I have used html for the page structure and I am using c# for the login authentication. I have a table database with MS Access but I can’t …

Member Avatar for sknake
0
124
Member Avatar for arunaalapati

hi.... did anyone know how to run vbscripts in C#?if yes.........please do reply me.... thankyou regards Aruna

Member Avatar for arunaalapati
0
1K

The End.