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...
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...
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
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
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,...
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...
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...
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...
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...
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...
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...
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...
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
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...
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...
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...
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...
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...
When we use typed datase and untped dataset?<br/>What is the difference between them?<br/>let me know<br/>thank you
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.
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...
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...
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...
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)[...
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!
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...
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...
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...
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
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...
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...
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
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
Is there any library in C# for RCON?
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...
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...
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.
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...