Tirumala's Q&A profile
SQL Server unique code
Hi all Problem Counter ID is not good because it gives information about the number of records, the next record.... So i want to obtain another unique code to store in another field of my table. I want to know some function to obtain a new code from the counter or other bases and which are very difficult to get inverse one. For example, if i have my counter 1,2,3,4,5,6,.... and my f(x) = x +100 my new code is 101,102,103,104 bu ...Show All
Visual C# C# Insert Statment
I am using an insert statement to add a record to the database,but I have a problem with System.DateTime.Now it will not allow me to use this. I get an error saying sytnax in Insert Statement. Is there any special characters you have to use . I try the suff other people posted but that does not fix the problem. try this strSql = "insert into table1(myDate) values (#"+DateTime.Now.toString()+"#);" ...Show All
Windows Forms Jet database engine/mdb file - issues?
Hi, I have used the Jet database engine in .NET for an application in the past, and did not have any issues at all. I am working on a much bigger application, but can't see any obvious pitfalls (a few million rows perhaps is all I&nbs ...Show All
Windows Forms Serialize a forms region?
Hi, I've been using the excellent clipping class written by Brian Yule to set your forms region to a bmp, png etc on load. It can create some cool looking skinned forms etc. This works great, but I'd like to be able to serialize the r ...Show All
Visual Basic Will Please help me align (to the right) my textfile
i have a database containing labels and price. Now I had a textfile (testfile.txt) containing the labels and prices. I had the labels aligned to the left but my prob is aligning the price to the right. I tried using the Mid() to cut the labels length to 10 then append the price with length of 8 but it didn't work. i think the main prob is that characters are much bigger than space or chr(32). Could there be solution to my prob Example: test.t ...Show All
Visual Basic how to make a specific column of datagrid read only
hello friends my name is pradeep I used datagrid to display the columns of table in oracle but i want to make primary key column read only and autoincrement plz reply Hello Pradeem There are couple of ways to do this scenario. Generally Autoincrement is set at the Database level . You can create a column in Oracle where you can set the Auto Increment property . If you have a Typed Dataset , Open th ...Show All
Visual C# Help! How do I redirect user after the form data submitted into database?
I know this sounds simple. And I have done numerious redirection using ASP, VB.NET. I am new to C# and I modify someone else code. I tried every single way I know and it still can't recgnize response.direct! BTW, this is asp.net 2.0, the code list below is reside /App_Code fodler. Not the direct code behind. Please help! using (OleDbCommand command = new OleDbCommand("AddSite;", connection)) { comman ...Show All
Smart Device Development Camera Capture for Eten G500
Hi! I used Camera Capture sample from Windows Mobile 5.0 SDK for develope app with PDA Eten G500. The same action with imate K-Jam was s uccessfully. But with Eten G500 the sample does't work. What can I do May be it is nessesary to change this code CGraphManager::GetFirstCameraDriver( WCHAR *pwzName ) { HRESULT hr = S_OK; HANDLE handle = NULL; DEVMGR_DEVICE_INFORMATION di; GUID guidCamera = { 0xCB998A05, 0x122C, 0x4166, 0x84, ...Show All
Visual C# simple editor using webBrowser control
Hi, I am working on an editor using the htmldocument in the webbrowser control. This is my code for testing out its capability: private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { htmldoc = webBrowser1.Document; htmldoc.ExecCommand("EditMode", true, null); } private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { // proces ...Show All
Visual C# C# RSS reader
I know there are a TON of rss readers out there but I am new to programming and I thought it might be a good project to start on. Now keep in mind I basically have no idea what I'm doing, but any suggestions to start this project would help. I am using Visual C# Express Edition to do this so if there are any limitaions please let me know. Thank You in advance to those who help me with this. While playing ...Show All
.NET Development Where's the Web dev forum?
Like the title says... where's the Web dev forum for us ASP.NET monkeys I think some people forget or do not know there are two specific sites for specific .net development I would always consider http://www.asp.net as the primary asp.net forums And I would always consider http://www.windowsforms.net as the primary windows forms forums. Those site have been there since day one. These I guess would be ev ...Show All
.NET Development XmlNode in Generated Typed Class
I generated a C# (or VB.NET) class using an XSD file supplied from a Java-based web service. The schema includes a "body" element that can itself be more in-line XML as defined in a second XSD file (or in others). The generated class declares this body element as an XmlNode rather than an object. Why isn't the body element declared as an object like the other XML elements Do I have to serialize the object base ...Show All
Windows Forms Data grid binding
Hi, I have a windows form with a datagrid and a few labels on it. all bound to the same dataset. the grid displays only 2 columns. when I select a record in the grid, i would like the details of that record to be displayed in&nbs ...Show All
Software Development for Windows Vista WMI SNMP v3 provider
Hi all, is there a WMI SNMPv3 provider is it planned discarded postponed i did not find any information about this ... thanks and cheers semaphor The winsnmp Api only support snmp v2 now, from the msdn. So, maybe you should find the provider from other place like MG-soft. ...Show All
Windows Forms Not really understanding CR
The way CR is embedded into VS is quite strange I think. I was expecting a nice library of classes and functions to make life easy - instead I get a stupid designer with very little program control. All I want to do is print out& ...Show All
