|
Hello to all,
I want to conferm that Is it possible to create a 16 bit application in .Net. I need 16 dll or application because I want to create a dll for 16 bit application.
Please help me how to solve this problem.
thanks
|
|
|
|
|
No.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
You already asked this question in another forum. The only thing this will accomplish is getting you ignored.
only two letters away from being an asset
|
|
|
|
|
asp.net radio button list can access single button with some value?
1)rdb1
2)rdb2
3)rdb3
is in group(rdblist).
if i choose rdb1 then i want to calculate value in text box, how?
|
|
|
|
|
You want to make calculation in Javascript or on page postback??
Regards
Aman Bhullar
|
|
|
|
|
Hi Guys,
I'm using the validation block (4.1) + ErrorProvider and have them integrated with my WinForms app properly, however, i can't find the setting that enables re-focusing on validation fail. i.e. when validation fails you can't currently move to the next control.
I'd like to run all my validation on a button click, rather than on a per control basis, but keep the red exclamation marks.
Any idea how to do this?
Regards
Tris
-------------------------------
Carrier Bags - 21st Century Tumbleweed.
|
|
|
|
|
As i am new in the XMl world
I want to discuss the following steps
1) I wan to read the xml file
2) after reading I have to bind that file to propoertyGridControl box
3) Afetr filling the data by user into that property grid contol
I have to Store that data into database(SQL server 2005)in single column ( XML dtat Type)
4) after storing the data Next time when user loads that
Propoerty grid cotrol I have to bind that data to property grid
Now I want to know that
1)from above senario I have to use XML as document format or like storage type
( As I want to store and again bind to grid)
2) What is the struuctrue I have to follow to save in database so
I can read agin that xml from database and bind to grid ?
Ex.
Is
<emp>ABC
<age>33
Valid ? to store in database as it is ?
3) Which query I have to fire to get exact same structure to get from DB ?
4) How can I read the XML using Dataset(in VB.NET) and bind to grid ?
5) How can I use the SQLCommand objext to read xml data and bind to grid ?
Is there Typecasting reaquire ?
|
|
|
|
|
|
There are lots of tutorial avilable on net.Google it.There is a training kit by Microsoft .Purchase it .They also provide a CD,simulation of Exam.
Cheers!!
Brij
|
|
|
|
|
Seriously?? Buy a book[^] for it.
If you can't figure out how to start studying for a test, how are you going to start a software project??
|
|
|
|
|
Hi ,
I am new in .NET technology...
I have a XML file containing following data...
<?xml version="1.0" encoding="utf-8">
<MyData>
<EmployeeName>aaa</EmployeeName>
<age>25</age>
</MyData>
Now,I want to simply store this into databse(SQL server 2005)using VB.NET
and I want to retrive same data and bind to grid...
How can I do this ?
|
|
|
|
|
Don't post the same question, even if th title is changed
You have a number of options. You could store the document in a database table with the column of type text or xml and use an XmlDataSource object to bind it to your control. You could also store the content of the xml file as individual columns in a database table and bind your grid to a datatable.
only two letters away from being an asset
|
|
|
|
|
Thanx buddy,
but i have still some issue..
I have created the table call XMLTest into database
in which I have two fields
PKID-Integer datatype
Data-XML datatype
While storing the xml data into database whether I have to put the line
<?xml version=""1.0"" encoding=""utf-8"">
at start of the data
or not ?
|
|
|
|
|
It doesn't matter. Have you at least tried it before asking?
only two letters away from being an asset
|
|
|
|
|
Hi...
I have try it
I have store the data into databse in following format...
(orignal data in file)
<mydata>
<employeename>aaa
<age>21
I store the following data using this code
dim xmldata = <mydata><employeename>aaa_ <age>21
SqlConnection.Open()
Dim cmd As New SqlCommand("insert into xmlTest Values(62,'" & xmldata & "')", SqlConnection)
cmd.ExecuteNonQuery()
MessageBox.Show("Record Saved Succsessfully")
SqlConnection.Close()
it stores sucsessfully
but after executing the following query I get the this data...
Select * from xmlTest for xml auto
I get this data after firing the query on that row of SQL server
<xmltest pkid="62">
<mydata>
<employeename>aaa
<age>11
befor going to ask about retriving the data first tell me
whether I am storing the data in right format or not ?
|
|
|
|
|
Hi...
I have try it
I have store the data into databse in following format...
(orignal data in file)
<xml version="1.0" encoding="utf-8">
<MyData>
<EmployeeName>aaa</EmployeeName>
<age>21</age>
</MyData>
I store the following data using this code
dim xmldata = <?xml version="1.0" encoding="utf-8">_
<MyData><EmployeeName>aaa</EmployeeName><age>21</age></MyData>
SqlConnection.Open()
Dim cmd As New SqlCommand("insert into xmlTest Values(62,'" & xmldata & "')", SqlConnection)
cmd.ExecuteNonQuery()
MessageBox.Show("Record Saved Succsessfully")
SqlConnection.Close()
it stores sucsessfully
but after executing the following query I get the this data...
Select * from xmlTest for xml auto
I get this data after firing the query on that row of SQL server
<xmlTest PKID="62"> <-------------------------------table name and PKID
<data> <-------------------------------Column Name of Table
<MyData>
<EmployeeName>aaa</EmployeeName>
<age>11</age>
</MyData>
</data>
</xmlTest>
befor going to ask about retriving the data first tell me
whether I am storing the data in right format or not ?
|
|
|
|
|
Hi ,
I am new in .NET technology...
I have a XML file containing following data...
<?xml version="1.0" encoding="utf-8">
<MyData>
<EmployeeName>aaa</EmployeeName>
<age>25</age>
</MyData>
Now,I want to simply store this into databse(SQL server 2005)
and I want to retrive same data and bind to grid...
How can I do this ?
|
|
|
|
|
My objective is to get the answer from up to 6000 Urls in the shortest time. It was working very well (12 seconds for 5200 LAN Addresses) until some delay started to happen.
My code uses up to 20 simultaneous HttpWebRequest.BeginGetResponse with ThreadPool.RegisterWaitForSingleObject for timeout handling.
However some (up to 4 in 5,000) of the requests never hit the TimeoutCallback function with the second parameter (timedOut) true, and they waste 5 minutes of my precious time until they hit theBeginGetResponseCallback function and then raise a WebException. The exceptions says something like "the operation reached the time limit", but as the exception message is in portuguese(my native language) I couldn't Google it.
I wonder if I can reduce this time limit to 20 seconds for example. Anyone knows how? I've already tried:
<system.web>
<httpRuntime executionTimeout="20"/>
</system.web>
But as I'm running it as a Console Application, ASP.NET configurations don't work. And I also tried:
myHttpWebRequest.Timeout = 20*1000;
And
ThreadPool.RegisterWaitForSingleObject(result.AsyncWaitHandle, new WaitOrTimerCallback(TimeoutCallback), AsyncState, 20*1000, true);
Without success. Can you help me?
What I am trying to say is there are 4 possible results for an asynchronous HTTP request:
1) Never reach the callback function -> timeout callback function
2) Reaches and answers sucessfully
3) Reaches and raises an exception
4) Delay exactly 5 minutes until raise an "time limit" web exception inside the callback function
The 4th possibility is the one is driving me nuts
|
|
|
|
|
MSDN[^] documentation says [assembly: AssemblyVersion("1.1.*.0")] is valid
However, when I try this I get a compiler error; 'The version specified '1.1.*.0' is invalid'
Does anyone understand what's going on here?
only two letters away from being an asset
|
|
|
|
|
Yes. You were looking at the .NET 1.1 documentation. It changed post 1.1, as detailed here[^].
|
|
|
|
|
Missed that. Thanks, that explains it but it seems a bit odd to remove the functionality.
only two letters away from being an asset
|
|
|
|
|
|
Gosh. You found the smiley's. Is your lesson tomorrow, how to stand up without drooling?
|
|
|
|
|
Hi there,
I plan to create a menu interface program for CD/DVD that uses classes from .NET Framework 2.0. There are some powerful classes in .NET that I want to use instead of creating them by myself to reduce the developing time.
This menu program should be started automatically when the user inserts the CD/DVD in the drive. This is done by using the AutoRun technology in Windows. The problem is that if .NET Framework 2.0 is not installed in the computer this program can not be started. Then the user must first install .NET Framework 2.0 before the program can be run. Well, this is a common problem to all .NET programs and normally maybe this is not a big problem, but this program is supposed to show a menu interface immediately, and, I guess most users expect that, always...
I know that Windows Vista always have .NET Framework 2.0 installed and I guess most Windows XP users today also have it. But I have never found any statistics about this.
Does anybody know an Internet site that have statistics about how many people that uses .NET Framework 2.0, and the other versions of .NET Framework? Does Microsoft have some statistics?
/Mika
|
|
|
|
|
I would still say that you'd be crazy to assume everyone has .NET. Just write a bootstrapper that installs it from your CD.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|