-
- Autonumber by code
by Sheldon553480
- 6 Replies
- Last post
by Sheldon553480
- In vb6 i created autonumber in vb6 code by comparing the number or the id with that in the database and added one more if it were present. This was in the new button click even.
vb6 code:
If rst.BOF = True Then Text1.Text = 1 Else Dim A As Integer rst.MoveLast A = rst("BorrowerID") A = A + 1 Text1.Text = A End If
Is this possible with .net I am creating a C# website
-
- ASP.NET Application -- problem with IE7 and Firefox
by Rizusa
- 1 Replies
- Last post
by Sriram Rajamanuri
- Hi All,
I developed web application using asp.net 2.0 ,C#.
My application looks fine(Display wise) in IE6.0 but i have problem with IE7 and firefox.
Need help !!
Thanks in advance.
-
- Library Versioning
by Mannee
- 1 Replies
- Last post
by nobugz
- Hi! I've got a small project which is supposed to be a kind of "bridge" between the old and the new version of the much bigger project. Due to this fact I we need to find a way to provide the coexistence of two dlls - <name>.dll - in two versions(written in VS 2003 and VS2005 - the name is the same) in one project. Does anyone have an idea how to do this
-
- table adapter schema
by meriano
- 2 Replies
- Last post
by meriano
- Is it possible to use the same table adapter to query 2 different tables with the same schema. Reason being is that I have a database with 2 sets of tables, 1 for plant A and the other for plant B. In the long run, there will only be 1 database with 1 set of tables but for demo reasons, this what I have to work with. I haven't een able to find a way to assign the correct table adapter dynamically
-
- How to get a node value ?
by Can-Ann
- 1 Replies
- Last post
by Martin Honnen
- My file:
Code Snippet
< <xml version = " 1.0 " >
< ApplicationData >
< add key = " Provider " value = " Provider=Microsoft.Jet.OLEDB.4.0; " />
< add key = " GL " value = " Data Source=F:\TEST.mdb;User /> </< FONT>
< add key = "EB " value = " Data Source=
-
- Should I include ASP.NET in my application?
by ThePerfectStorm
- 4 Replies
- Last post
by ThePerfectStorm
- Currently I have a WPF application which part of (certain windows) will be able to run in a browser using silverlight or standalone with the rest of the application. In this way, I hope that one code base will be required. My question concerns ASP.NET. Am I going to run into problems using this pure WPF/XAML solution as apposed to trying to combine my WPF/XAML application with some ASP.NET pages
-
- VB.NET slow start time
by Bernardo Salazar
- 3 Replies
- Last post
by Derek Smyth
- Hi everybody!
I developed a fine app in VB.NET 2005. In modern machines, i dont have any performance problems.... but in older, PII 350mhz, Win98, 64mb ram PCs (the 90% of my customers) the app are painfully slow. Since the resultant .net 2.0 msil are only 800kb, i think that at startup time the entire .net framework are loaded, resulting in a 2-minute-or-more load time. this making me crazy, s
-
- Web Service noob needs some help
by Mr Haugen
- 14 Replies
- Last post
by Mr Haugen
- Hello
I was told that it was a REALLY bad idea to send SQL queries directly over the Internet. That's why I'm here. I'm trying to make a web service to forward SQL queries from a VB.net plugin to my SQL server and return the result, but have little idea of how to attack this. Have been searching the web and have made something that look like it can work as a web service:
The simple W
-
- what is masterpage concept? is it diffrnt than user controls' part?
by Jay_Vora_b4843e
- 4 Replies
- Last post
by Sajankp
- m confused ,
plz give guidelines..
thx ..
-
- BindingList over Remoting using an interface type
by MBursill
- 2 Replies
- Last post
by MBursill
- This works without any problems: Code Snippet string uri = "tcp://localhost:8000/CAOFactory"; cf = (CustomerInterfaces.ICAOFactory)Activator.GetObject(typeof(CustomerInterfaces.ICAOFactory), uri); ICustomer objCustomer = cf.CreateCustomer(); BindingList<ICustomer> customers = objCustomer.GetCustomers(); My form has a binding source and I set its DataSource property to the cus
-
- Xslt Compiled Transform is extremely Slow
by srinath5177
- 4 Replies
- Last post
by srinath5177
- I have a scenario where the Xslt Compiled Transform is very slow compared the Xslt Transform. I used the link
http://blogs.msdn.com/antosha/archive/2006/07/16/667221.aspx
to do some troubleshooting here are my performance numbers
C:\Users\Srinath\Documents\MyProjects\tools\XsltPerf>XsltPerf.exe /xt c:\Users\S rinath\Desktop\test.xml c:\WebSystems\NuV40\WebPages\Profiles\Df\Forms\Xhtml.
-
- Update dataset from database after the database filled the primary key with an AutoNumber
by Barts007
- 11 Replies
- Last post
by ahmedilyas
- I add a new row to an Access table. The database then fills the primary key with an AutoNumber for that row. I need to retrieve the value of the primary key just created.
Is it possible update back the dataset
I need this value to write it in the related tables.
Thanks
-
- compress and decompress the file in .NetFramework1.1 Visual Studio 2003
by rani venkatesh
- 2 Replies
- Last post
by MadeInCode
- 1.How to copy the whole solution/project to a given location. The generated files are deleted(.dll/.exe/.pdb), basically you can delete the bin and obj directories.
I want the code for this.
2. How to compress and decompress the file in .NetFramework1.1 Visual Studio 2003
-
- How to set HTTP Headers from client class inheriting from SoapHttpClientProtocol
by pfelsted
- 2 Replies
- Last post
by pfelsted
- I am using visual studio 2005 and I have imported a web reference (WSDL and XSD) and it has generated me some niffty classes. I now need to authenticate to a web service that only accepts HTTP authentication. So I need to set a HTTP header. Can someone point to me how this can be accomplished I really apprecitate it.
-
- Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.
by TravelMan
- 7 Replies
- Last post
by William Vaughn
- All, In some reason, my application got timeout expired exception. In my code, I close Sql connection in finally block. So that should not have connection leak. Also, I monitor my application from SQL management studio and the max concurrent connections is 5 and should be less than default Max Pool Size (100). Since I don't specify value of Max Pool Size and Min Pool Size in connection string, I
-
- help: multiprocessor system not fully used
by elven_cris
- 5 Replies
- Last post
by Alois
- Hello everybody. I wrote a managed application (a windows service) (c#, net 2.0) which spans several working threads (not from the pool) on which i perform some verry intensive computations. My problem is that although the machine has several processors, my threads are executed sequentially. Does anybody know how cand i configure .net framework to use all the processors (to run each thread on a pr
-
- Invoke WebMethod execution hangs on Mixed/Mode MFC Application
by ToPena
- 0 Replies
- Last post
by ToPena
- Hi, I have a Win32 Mixed mode MFC application which uses C# web services. All applications are written in .Net 1.1 (Visual Studio 2003) although I have framework 2.0 and Visual Studio 2005 installed on the same PC. The code I'm currently using is result of our previous version and it was working fine until some time ago. But ever since I restarted working on that code, the application simply hang
-
- How do I check if an Event Handler was added?
by Michael Wittenburg
- 7 Replies
- Last post
by Michael Wittenburg
- Hi,
Is there a way to determine whether an event handler has already been added to an object or not
I attach and detach handlers using AddHandler and RemoveHandler.
Cheers,
Michael
-
- GPRS Connections on Windows XP Toughbooks
by SteveDee
- 2 Replies
- Last post
by RizwanSharp
- I am trying to write an application to run on a Pannasonic Toughbook on Windows XP OS. The device will have a GPRS Card installed. I have never written any kind of "mobile" application before, so the whole GPRS Connection aspect is new to me. Because of the environment the devices will often operate in I think I will have to create some kind of message queue, so that if there is no conne
-
- How to disable timezone conversion of dates in web services?
by Ben Walling
- 1 Replies
- Last post
by Alex DeJarnatt - MSFT
- I'm uploading a dataset that has some date and date/time values in it from a variety of machines. I'm seeing that the webservices are automatically changing the times based on the difference in timezone between the client and the server. How can I disable this behavior I know in many cases this would be desired, but in this case, it is not desired.
I'm using .Net 2.0 on both client and se
-
- How can SetValue be used on an object's data types that aren't string?
by db042188
- 1 Replies
- Last post
by db042188
- the following command works great on setting data types of string parsed from xml but not for other data types (eg long) that my object may contain...
obj.GetType().GetProperty(nodeIter.Current.LocalName).SetValue(obj, nodeIter.Current.Value,
null );
I'd like (if at all possible) to use one command to handle all data types and avoid coding something like...
Type type = o
-
- Bytes encoded incorrectly
by virtualrush
- 3 Replies
- Last post
by virtualrush
- Hi Guys,
I was wondering if you ran into issues with the way bytes are stored when you were doing network programming.
A byte[2] array:
[0x0][0x8] ¨C the way that a byte should be represented a Decoded as 0008
[0x8][0x0] ¨C the way C# encodes it a Decoded as 8000
My current solution is to just reverse the array after using the BitConverter.GetByte
-
- Use XML file for login?
by MLyons10
- 3 Replies
- Last post
by Chris O'Brien
- Hi, I am trying to use an encrypted XML file for a login. I can encrypt the xml, and decrypt it as a whole, but don't know how to pull the information for a login (Though I understand it can be done). I figured I'd ask if anyone could explain how I might do this. There would be multiple different logins, so it would need to be able to look at the xml file and say that if line 1 = X, line 2 should
-
- App.Config file problem
by bhavu
- 6 Replies
- Last post
by bhavu
- Hi Everyone,
I have developed one windows application and I am taking Configuration values from config file. Then requirement got changed and I have to use same windows application from Excel. So that I converted windows application to class library.
and used COM shim to connect to .net from excel. Now the problem is my .net application is not taking the values from config file (m
-
- Query on events in .Net
by A_Kumar
- 1 Replies
- Last post
by Andreas Johansson
- Hello Friends,
I have below doubts
1. Is event handler code called on the thread which raised event.
2. If I raise an event, which is handled at 5 places, will it be a blocking call (synchronous call) to all handlers
3. Can we predict the order in which handlers will be called.
Please answer the queries or suggest some good article on msdn.
Regards
Ashok