Answer Questions
Coder4Christ Help me to solve this problem(about a display)!Thanks!
tools:VC++.net the code is: char ch; ch = 'a'; MessageBox::show(ch.ToString()); After this code runned!The MessageBox showed '97'.It shows the alphal's ASCII number,not show 'a'. How can I fix this problem Thanks! Hi, Ok, you can do this instead. char c = 'a'; MessageBox::Show(Convert::ToChar(c).ToString()); Hope that works... cheers, Paul June A. Domag to Paul Domag Thank you very muc ...Show All
rcodyr ExecuteNonQuery hangs
Hi All, I posted a question some days ago, but didnt get any response. I guess I didnt word it properly. I'll try my best this time.... This is what I did: Create Command(connection, myTransaction) Set TimeOut property Try myCommand.ExecuteNonQuery() myTransaction.Commit() Catch ex as Exception myTransaction.Rollback() End try But the app hangs at myCommand.ExecuteNonQuery() statement. So, I tried to do it differently: I try to run the Exe ...Show All
Chuck Wagner "Could not create type..." error deploying webservice
I know this question has been asked a billion times already because I've found several instances on the net, but none of the proposed solutions seems to solve my problem, so I'd appreciate any help. I've created a C# webservice on my local machine that runs fine. Now I'm trying to deploy it to a webserver. The server is Windows 2003 with IIS 6. I created a new virtual directory in IIS, set it to be an application, and gave it "scripts on ...Show All
chstngs RSACryptoServiceProvider & Bad Key Exception
Hi, I'm hoping somebody can help me with this one. I encrypt a simple string with the RSACryptoServiceProvider, export the RSAParameters and then Serialize the exported RSAParameters, together with the encrypted string, to a file using a BinaryFormatter. Later I deserialize the whole lot, import the RSAParameters into a newly created RSACryptoServiceProvider, and try to decryp the string, but I keep on getting a 'Bad Key' exception. What am ...Show All
FAp How to store a query result in an external db-table?
Hi. Do you know how to store a query result in an external db-table For example: I have to make a query using ODBC that point to AS/400 tables, but the result I have to store it in Access. 'iSeries IBM Driver for AS/400 Dim conMacPac As OdbcConnection = New OdbcConnection(conStrMacPac) Dim cmdMacPac As OdbcCommand = New OdbcCommand(strSQL, conMacPac) Dim custDAMacPac As OdbcDataAdapter = New OdbcDataAdapter(cmdMacPac) Dim custDSMacPac As Data ...Show All
Simba XmlDocument.Load() in .NET 2.0 generating confusing System.IO.IOExceptions
Following line of code works for all xml documents in .NET 1.1 version of the app. However in .NET 2.0 version of the app for some documents, 100% of the time, I'm getting 2 exceptions (which one I get seems to vary). Here's the line of code: xmlDocument.Load(filePath); And here are the exception messages: * A device attached to the system is not functioning. - or - * There are currently no logon servers available to service the log ...Show All
Briam .net 2.0 application not loading any form/screens
I have a .net 2.0 application that runs fine on my development machine. I have successfully created a setup project and built the file. i have successfully installed the application on another machine and ensure ALL pre-reqs and requirements (framework, mysql etc) are also installed and running. When I load the exe, the task manager clearly shows the application process is running but the UI doesn't display, I don't get the startup fo ...Show All
P.Shivaram [VB.net] SQL-Creating an User
HI! I'm working with SQL-Servers at the moment. I want to know, how to create a User on a SQL-Server. Anyone got an good example Greets reg3x Hi reg3x SQL Server can work in one of two wasy with regard to users. You can either use SQL Authentication, in which case you have to explicitly create logins and users. Either use SQL Management Studio for this, or you used to use the system procedures sp_addlogin, and sp_adduser.&nb ...Show All
JDev How to get the list of available satellite assemblies for the main assembly?
I found just Assembly.GetSatelliteAssembly() which returns just one satellite assembly. I want to retrieve to list of all for users to select their appropriate languages.Please suggest!!! Thank you!!! The runtime simply loads xx/myapp .resources.dll or myapp . xx .resources.dll when you call GetSatelliteAssembly(). You can store your satellite assemblies in the current directory, and they must have the format myapp.xx .resources.dll w ...Show All
Jemmy Wang System monitoring
Is there any way to stay monitoring changes in registry and network ports usage (like a firewall) using .Net Framework Hello, The .NET Framework itself does not include Registry or network port monitoring functionality. However, other teams at Microsoft may provide native (e.g. C/C++) support for monitoring the registry and ports. I would recommend searching MSDN or the internet for APIs that provide the functionality you are looking for ...Show All
appferreira How to append xml files
Can anybody tell me that how to append xml files “Appending XML files” doesn’t make much sense as a scenario. Consider “Merging XML Documents”: 1. There is document-level information – encoding, namespaces, etc. Should one doc prevail What if there are contradictive clauses 2. The new document should have exactly one root. One of the two Or a new one 3. Appending text after the closing tag is an error. So “a ...Show All
CGuyArun What is the best n-tier solution?
In Visual Studio 2005 & ASP.NET 2.0 What is the best n-tier solution A Dataset.xsd through the designer or Hand written class's. I'm planning to build up following N tier architecture: RIA Layer Presentation Parse Layer Action Driver Work Flow Link Distributed Business Layer Data Access Layer Data / Database Layer Compare with other tech, by this architecture, we can get following more benifits: 1, We can ...Show All
marvo Game development with .Net
Hello, I am looking for samples, articles, guidelines... to write .Net games with .Net. I don't want to use DirectX or, if with DirectX, not using 3D. The category of game is Legend of Zelda, Mario Bros... the ultimate goal being to make a game both for WinXP and WinMobile. Also, I'd like to find help on a 3d-iso game like age of empire or StrongHold. Thanks for any help, Claude Thanks for this advice. Yet, a ...Show All
Omicron Return a DataTable to the client, how is it done correct?
Hi! I have a simple remoting-object that returns a DataTable to the smartClient. It all works fine but it would be nice to see the DataTable-columns i the DataSorces view in the designer on the client side. Is that possible I'm using FW 2.0 /Slash Is your datatable strongly-typed Regardless, I think that this is a data designer question -- so I am going to move it. ...Show All
fhhowdy why is Update() so Slooooow
I found one fatal problem which I would like an explanation; in the old days (2 weeks ago) I used an access DB and I would open the access program and a macro would simply read from a text file and load 3 tables and stop. Once I got out of the Microsoft access program the 3 tables in access would have the new data, I say it took about 35 seconds to do. Now I switch over and created an SQL DB and my new program in VS 2005 reads from the same ...Show All
