Crystal report databse connection

407 byte By ramachandranv at 2007-12-9 23:55:18
How does one change the connection string within a crystal report developed within the frame work of the IDE for .NET. When i put a report viewer component and specify the source as the report name i also want to set up the connection string. The problem i am facing is when i run the application it...

Team development of a project in .NET

672 byte By Jim Bassett at 2007-12-9 23:55:17
I am trying to figure out how best to develop .NET projects in a team environment. When developing sections of code such as middle tier COM+ components we could use an application proxy that allowed other component developers to reference a central location for existing components for compiling or f...

System.Web.UI.WebControls.DataGrid

253 byte By sinale at 2007-12-9 23:55:15
Hi<br/>The first time I'm working with System.Web.UI.WebControls.DataGrid.<br/>Unfortunately I can't to find the way to select a single row in the grid.<br/>What I need to config for simple selection a row by OnClick event ?<br/>Thank you

connecting to remote database

299 byte By Patko at 2007-12-9 23:55:14
Hi!<br/>I would like to use ADO to connect to MS Access 2000 database which is stored on remote computer (access via ftp). When I try to connect to database I get "Could not find installable ISAM" error. I am sure I have all the necessary drivers, so what could be wrong?<br/>Thanks, Simon

RemotingException raised when using an object retrieved from RunningObjectTable

971 byte By npicard at 2007-12-9 23:55:13
Hello, I originally posted this under the wrong heading. This issue has been driving me crazy and I hope someone can shed some light on this before I bite off another finger.I have an object (C# class) called F2CustomDataController that is started up and entered into the Running Object Table. Then,...

.NET Vs Java

447 byte By rasoliver at 2007-12-5 22:12:18
Hi, I have planned to do my higher studies,I'm having both Java and .NET in my curriculum,since it is not a good idea to keep my legs both in Java and .NET, I need to select any one of them.But I'm having lot of confusion in selecting it. Can any one mail me the advantages and disa...

Admin privileges for deploying

1282 byte By alexkrush at 2007-12-5 22:12:12
Hi!I have a problem with deploing my custom application on another PC. On the target Win2k PC the .NET runtime is not installed and the user, who will use my application doesn't has an admin privileges. First i added (temporarily) the target user to the local admin group and have instaled dotne...

Sending Email using SMPT server with asp.net

888 byte By Sudhir kapoor at 2007-12-5 22:12:06
I have simple email program that sends emails using smpt server in asp.net. Works fine in on my XP machine but soon as I put it on my win 2000 pro server with same smpt settings it does not send email, all the email are put in Quene directory of mail server. Here is my code I am using..Sub btnSendEm...

how can i send string type parameter to Stored Procedure ?

788 byte By simpleman at 2007-12-5 22:11:58
Hello everyone.How can i send string type (char* type) parameter to Stored Procedure ?I am using Visual C++ so i tried like that..VARIANT vtName;VariantInit(&vtName);vtName.vt = VT_LPSTR;char strData[20];strcpy(strData ,"Simple15");vtName.pcVal = strData;pParam = pCommand->CreateParameter("strNam...

Traverse collection

898 byte By laasunde at 2007-12-5 22:11:52
This is sort of a general query regarding traversing a collection. Say I have the following set of classes.public class NodeCollection{ private List<Node> m_List = new List<Node>();}public Node{ public List<Node> m_Children = new List<Node>(); private int ID; private...

VFP COM exception (Urgent)

2022 byte By nauman.naeem@gmail.com at 2007-12-4 23:57:03
Hi, I have a VFP COM which is accessing a database over the network and has certain methods exposed and is using a .ini file which needs to be placed as the same level.I am using the below lines to register and generate proxy for COMregsvr32 webwo.dllecho ---Generating CCW-------TlbImp webwo.dll /ou...

cant see namespaces in my code

1034 byte By prilla at 2007-12-4 23:57:02
Hi,I am learning asp.net and I have visual studio enterprise architect installed. As a prerequisite I had teh .net framework installed. the os is win2k server. it wont install active directory but this is because (i think) i dont have a network card. the problem is this:when I run a sample appli...

help me please

131 byte By UKAT at 2007-12-4 23:57:01
sir,<br/> ineed a complete case study of an appliocation(object analysis & design with dot net code )<br/>SHAUKAT YOUSAF KHAN

C# DataAdapter.Update not inserting after merge

2434 byte By mcasey0827 at 2007-12-4 23:57:00
I'm writing a little app to get data from a CSV file generated everyday by a vendor and insert it into a Table in our SQL Server database. I can get the data fine, and I can easily merge it with another dataset I pull from the existing table (which is exactly the same except for an Identity Col...

How to Check For Network Connection?

368 byte By jmulei2000 at 2007-12-4 23:56:59
I'm a C# newbie so execuse my ignorance. I'm coding a client server application. One of the problems i've run into is that when the client is initially loaded and can't find a network connection to the server, i get this ugly .NET error message. I would like to be able to check...

Can a non-Component class have design time "Name" property?

1121 byte By kmansari at 2007-12-4 10:39:22
Hello everyone,My apologies if I am posting my question in the wrong forum. This is what I am trying to do:I have business objects that derive from a common base class. I have implemented my custom UITypeEditor (based on a TreeView) that lets edit these objects at design time. Visual Studio happily...

ultimate noob question

1164 byte By Mick8569 at 2007-12-4 10:39:21
Ok i apologise for the stupid question, i have been trying to search for the answer, but as i am just starting out and dont know any terms, i am just reading blind.My question is:WHERE DO I WRITE MY CODE!?!i am working off a book that came with .NET SDK, i assume that is what i would use to input my...

? in the html response

1057 byte By dmeikle at 2007-12-4 10:39:20
I have an issue where there seems to be questions marks placed in the HTML text where the source text has odd characters from a text editor.here's an example:Viatical Settlements, Life Settlements, and the Secondary Insurance Market桺art I (CC 04-02)not sure if you can see the chinese cha...

Dataset

120 byte By j.Sridhar at 2007-12-4 10:39:19
When we use typed datase and untped dataset?<br/>What is the difference between them?<br/>let me know<br/>thank you

Internet Explorer Histories

235 byte By weng at 2007-12-4 10:39:18
hello, can anyone tell me how can i kep track of the Internet Explorer histories and URL using c#, i am currently working on my assignment which related to a spyware, can anyone recommend any reference that i could refer to, thank you.

.NET problem with printing a barcode

393 byte By honzac32 at 2007-12-3 19:25:51
I have word file with a barcode in it - font - ELEBC39.When I print right from Word there is no problem. But when I use an automation and use word in other .NET application - I use only Open and PrintOut - barcode isn't printed as a barcode, but only its text interpretation.There are used diffe...

could somebody help me?

487 byte By jasie24 at 2007-12-3 19:25:50
if i want to run my programs in C#,in console mode,at DOS prompt what do i have to do? to work,because it gives me this fatal errror CS2008,no inputs found,could not find hello.csBUT,this file is in the same directory as csc.exe,so what could be the problem?I red someplace that i have to run first a...

First time debugging results in an error in ASP.NET 2.0

630 byte By creatorul at 2007-12-3 19:25:49
I have a problem when I compile my Web page in ASP.NET 2.0 . I'm currently using Visual Stiudio 2005 Pro . When I compile the page in debug mode I get 'Internet Explorer cannot display the webpage' and works only after I hit refresh button . I know that the Web server caches the pages...

Cant connect with .asp

506 byte By praymond at 2007-12-3 19:25:48
I am running two WIN2K servers, one as web site the other as database server (using .mdb files). My asp pages used fileDSN to connect, but cannot connect unless the .mdb files are on the same server as the web site. This is the error i get.....Microsoft OLE DB Provider for ODBC Drivers (0x80004005)[...

Multi Key Hashtable?

164 byte By Musti at 2007-12-3 19:25:47
Hello<br/>Does someone have some sample code about how to make a multi key hashtable in C#?(multiple keys ref the same value)<br/>Thank you for your help!

Multiple Languages, Same Project

569 byte By zmanvortex at 2007-12-1 0:34:57
I understand how to use multiple languages in the same solution and have one project depend on the output of another in the solution, for example I have had a C# project depend on a dll that was the output of a C++ project in the same solution. Heck, I could do that with Visual Studio 6 with several...

visual studio 2005 installation problem

1389 byte By snayyagari at 2007-12-1 0:34:56
Hi I am trying to install VS 2005. But I am unable to install. My log says:[06/10/07,20:18:54] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293.[06/10/07,20:18:54] setup.exe: [2] Component error string not specified in ISetup...

changing txt contents in a ASP page dynamically

710 byte By old monk at 2007-12-1 0:34:55
Actually what exactly i want is, 1) There is a ASP page with some contents.It's in the Internet server.2)The ASP page has been made according to each user.That is each user can create their home page.It's some thing like this.3).The client should able to change the content according to his...

SQL Server 2000 Connection

247 byte By Taj Singh at 2007-12-1 0:34:54
Hi,<br/> Is it possible to connect to SQL server 2000 from my program running on a wince device? I am using Embedded vc++ as the development environment. Any web site/or sample code showing an example would be really helpful.<br/>Thanks

PictureBox and HScrollBar

1028 byte By MikeB at 2007-12-1 0:34:53
I want to add an horizontal scroll bar to my picture box. I am relatively new to C# so this may seem like a dumb question, but, how do I add a horizontal scroll bar to my picture box class and catch the scroll events in my picture box class.I added both a picture box and hscrollbar control to my for...

launch the installed application immediatley after Installation

1016 byte By psmukilan at 2007-11-29 14:56:28
Can any one guide me how to launch the installed application immediatley after the Finished screen button clicked. Once the user clicks the finished screen "Close" button, i need to launch the installed application. I tried with installer class. Sample code is given below.I have created a class libr...

ASP.NET and IIS

292 byte By Annu Ittyachen at 2007-11-29 14:56:27
Hi,<br/>I want to install Visual Studio .NET 2003 for ASP.NET developement. Is it required that IIS be installed in the local machine ? Can I work off a remote IIS machine ? My system administrator is refusing to install IIS locally because of security reasons<br/>Regards,<br/>Annu

How to Compile Web Pages

329 byte By mejaz at 2007-11-29 14:56:26
Hi, I m new to asp.net and making a web page for orders entry by using oracle at the back end.Now if i run the page from the same machine its ok but how i can test this on the other machine?Do i need to copy all the files and folders on that machine in the localhost folders?Thanks In Advance...

SQL Server log: Login succeeded for user APPL_ACCOUNT. Connection: Non-Trusted.

2538 byte By THY02K at 2007-11-29 14:56:25
I'm having performance issue with this ASP.NET app. From SQL Server log there're MANY MANY log which resembles the following:SQL Server log: Login succeeded for user 'APPL_ACCOUNT'. Connection: Non-Trusted.I'm talking thousands in one morning. And I am suspecting that this i...

Trying to pass values to the main Form

871 byte By efkefk at 2007-11-29 14:56:24
Hello,I am trying to make a second Form to send an integer to the main Form. With a breakpoint, I can check the main Form loads the correct value from the second Form (loaded into test_int), but if I run the program again (F5), with a second break I can see that test_int returns always to 0. How to...

underlying connection was closed:unable to connect to remote server exception me

4538 byte By beachbum714 at 2007-11-27 0:19:25
I have been receiving this exception for over a week with a .NET remoting app and can't find a solution anywhere that works. Below I'll paste my config files and the client code calling the remote method. I'd really appreciate some assistance. The Server code and files are on a remo...

Soap on Windows 95

309 byte By sigsoft at 2007-11-27 0:19:24
Soap version 1 worked on win95, but accordning to our tests and Microsofts own FAQ on soap 2.0 sp2 the soap toolkit(2.0) doesn't work on win95. Anyone have any idea how to get it to work? Do I have to use soap 1.0, and can i get it anywere, now that it's probably not supported by microsoft...

Grouping files in Web Matrix

350 byte By Sathyaish at 2007-11-27 0:19:23
I am using Web Matrix with v.1.1 of the framework. I don't see a concept of a project or solution in Web Matrix, so here's my problem.I have one aspx file that wants to use a class file called "SkillSet.vb". Skillset.vb in turn wants to use another class file "Skill.vb". How do I group the...

Doing an bulk Insert with ADO+?

329 byte By kjcooper at 2007-11-27 0:19:22
I tried to make this work a couple of different ways but each attempt fail. Basically I justwant to sent a batch of insert statements to Sql Server. Like:Insert Into X(Y) Values(1)Insert Into X(Y) Values(2)...Insert Into X(Y) Values(n)Does anybody have a clue about ADO+?TIA Ken...

Read data from Excel.Range: undefined Value!

425 byte By caperover2002 at 2007-11-27 0:19:21
Hi, C# Gurus,I have a problem reading data from Excel.Range. Here is how I did: Object[,] saRet; saRet = (System.Object[,])range.get_Value(Missing.Value );The problem is some elements in saRet are "undefined values"I noted that the reason is that those corresponding cell contain formula not val...

Prepared Statements

600 byte By DelboyDee at 2007-11-25 11:54:53
Hi People,Can any one tell me if I have to leave the connection open when reusing a prepared statement or if I can close the connection completely and destroy all objects to the database and then later the compiled statement is still available to me?Do I have to keep the SqlCommand object alive and...

VS 2005 deployment with NHibernate

492 byte By mpoincare at 2007-11-25 11:54:41
Hi everyone,I implemented a VS 2005 windows application using NHibernate as persistance layer. After I installed the application on the target computer, I tried to add some information through the interface but I had a message saying;"Could not save object NHibernate". I would like to know how can I...

Connection delay query

973 byte By coolabhinav82 at 2007-11-25 11:54:08
I have been using ADOX to connect to a Microsoft Jet database. This database resides on the same machine as the application. The way my application is designed, i connect to the database while i am initializing other components of the application.Particularly, ADOX takes around 5-6 sec on a 800Mhz p...

What type of project for classes (VS05) to be run with VS03 project?

435 byte By Cyber Friend at 2007-11-25 11:51:15
Hi there,I have some classes developed using VS 2005. Now I have to use them in a project developed using VS 2003. What type of project should I make for these classes (VS05) , i.e. Web Service, .Net remoting service, or some other to properly use them with VS 03 project? Note: I can't compile...

BackColor of datagridview cells?

1205 byte By Tobbis at 2007-11-25 11:50:08
Hi I still have a problem with the backcolor of the datagridview and updating it.I had a problem with the height before that didn't update but I solved it by setting the rowtemplate.Heigt instead of setting each rowheight.I realize that I didn't solve the update prblem I had but I was stil...

RCOn Library in C#

36 byte By Waqas_Badar at 2007-11-25 11:50:01
Is there any library in C# for RCON?

How to get Next Control In Control Collection

1259 byte By huzefa.juventus at 2007-11-25 11:49:57
Hi Guys,Can you solve my one problem...See i am gettin the list of controls in another form in controls collection in that mycontrols[] then i m loopin through each control..and the controls that i gettin are on the other form then the one in which i m writing the codes... so now i have a requirem...

My datagridview wont update until I press a button?

864 byte By Tobbis at 2007-11-25 11:49:55
Hi I have a problem I cannot understand.I have created a form which has a datagridview.When I start the application I fill in the datagridview by doing the followingCreate a datatable and add its rows.and then fill in the datagridview by:dataGridViewSpelarUtv.DataSource = dt;Then I change the height...

Problem installing VS.Net 2003 on Win Vista

293 byte By Wombat at 2007-11-25 11:49:43
Hi,<br/>I encountered problems when trying to install Visual Studio .Net 2003 on Win Vista. During the installation of prerequisite, it encounters an error when trying to install .Net framework 1.1. <br/>Is there anyway to successfully install vs.net 2003 on Vista? <br/>Thanks.

AES Encryption

2411 byte By Charu0306 at 2007-11-25 11:49:35
AES Lib is taken from : http://msdn.microsoft.com/msdnmag/code/?url= http://msdn.microsoft.com/msdnmag/issues/03/11/AES/Default.aspxusing this lib, it gives junk characters for larger texts as the encryption key size (128,192,256) increased. The Encrypt and Decrypt Code is as follows:textBox1 - TEXt...