|
That's the wrong direction; all Web apps should be converted to Win apps.
|
|
|
|
|
Hi,
Can anybody tell me how to add support for a new languages without ever recompiling the neutral assembly that contains all the application code.After deploying the application I created a satlite assembly for a new language and uploaded to the bin directory of the application.But if I change the application culture it is not reading the values form the new satlite assembly.
Thanks in Advance
Prajin
|
|
|
|
|
Have you placed your DLL in the bin folder, or the appropriate culture folder? For instance, suppose that you have a French resource that you want to use, this would go in the bin\Fr folder. Obviously, if you wanted to be more specific you would use a more targetted folder, e.g. using the France French location would result in the Dll going in bin\Fr-Fr.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi Pete O'Hanlon,
Thanks for your reply,I placed it in FR-fr folder inside bin.I kept the same directory structure and dll name as it is created automatically by the framework.
Thanks,
Prajin
|
|
|
|
|
Some short question: Where do I get the handwriting recognition service from?
I have read about it here: http://support.microsoft.com/kb/306906/EN-US/[^]
But how can I activate something I do not even get offered for my XP Professional!?
Can it be downloaded somewhere? Or is it available for Tablets only?
Further: How to use the service from .NET? Are there any examples, or at least hints?
Thanks in advance!
|
|
|
|
|
Quoting from the URL: Hopefully condition 1 is satisfied. How about condition 2?
Handwriting Recognition Requirements
To use handwriting recognition, you need the following: • A writing tool. The minimum requirement for a writing tool is a mouse. To write with your mouse, press and hold down the primary mouse button, and then move the mouse pointer to form characters. The recommended tool is a handwriting input device, such as a pen stylus and tablet, connected to your computer through a serial port or USB port. Graphics tablets that are used with three-dimensional (3-D) drawing or computer-aided design (CAD) programs can also be used.
<big>• The Microsoft handwriting-recognition engine installed on a Windows XP-based computer. </big>
|
|
|
|
|
Hi
I can't repair my software. When i repair my software then it uninstall.
Another problem is when i install my software in Just me option it can't
install.
Please help me.
Nazmul
Mohammad Nazmul Alam
Software Developer,
Spectrum Engineering Consortium Ltd
|
|
|
|
|
Have you looked back through your setup project? Sounds like you may be missing something there...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi,
i would like to know how I can merge all my dll that i'm using in the project into 1 exe I'm using C#
Thank you,
Charbel
|
|
|
|
|
|
Or C++ link.exe in Visual Studio 2005.
|
|
|
|
|
Is there any tool which can generate UML diagrams from .NET code(assembly)? Please specify for the versions supported. I searched google and got a lot of links. I need to test them and see. I thought it would be better to ask the forum as someone might have experience. Will that indicate the flow from layers also?
K.P.Kannan
|
|
|
|
|
The reverse engineering tool is Reflector[^]. It supports an add-in model and there are a few add-ins[^] that look like they might do what you want.
|
|
|
|
|
I've used StarUML to do C++ and C#. It seems to fit the bill.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi,
I am working with asp.net 2.0. I want to check whether the value i have entered in the text box is present in the database or not. If it is present it should not take the same value again. I cant give primary or unique constraint since it might contain many NULL values. How to do this? can i some code for this?
|
|
|
|
|
You could just do a query against the database and count the rows returned. Here is a pseudo-sql statement:
SELECT Count(*) FROM {YourTable} WHERE {YourField} = {YourTextBox.Text}
Where {YourTable} is the table in your database, {YourField} is the field you want to check against, and
{YourTextBox} is the textbox containing the value you are checking.
You have to do the real SQL statement yourself, I am just shedding some light for you.
Hope this guides you in the right direction.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Thank u Paul,
I did wrote the code as follows, But did not got any result. What is error i have done.
If dbconn.State <> ConnectionState.Open Then
dbconn.Open()
End If
Dim sqlserial As String
sqlserial = "select count(*) from a_general where serialno='" & txtslno.Text & "'"
Dim cmm As New SqlCommand(sqlserial, dbconn)
Dim dr1 As SqlDataReader
dr1 = cmm.ExecuteReader
If sqlserial > 0 Then
lblmsg.Text = "Duplication of Serial Number is invalid !"
lblmsg.ForeColor = Drawing.Color.Red
lblmsg.Visible = True
Exit Sub
End If
Chaitra N
|
|
|
|
|
n_gchaitra wrote: dr1 = cmm.ExecuteReader
Maybe should be changed to ExecuteNonQuery instead of ExecuteReader .
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
when i tried to use ExecuteNonQuery it gives the error that, the value type integer cannot be converted to "system.data.sqlclient.sqldatareader"
Chaitra N
|
|
|
|
|
Because executeNonQuery returns the integer number of rows found.
Change
sqlserial = "select count(*) from a_general where serialno='" & txtslno.Text & "'"
to
sqlserial = "select serial from a_general where serialno='" & txtslno.Text & "'"
Concatenation of strings into the query can cause sql injection attacks. Read Colin Mackay's article on this site about those.
Get rid of the dr1 and have an integer for the serial number.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
n_gchaitra wrote: dr1 = cmm.ExecuteReader
Change this to dr1.ExecuteScalar. Use ExecuteScalar when returning only a single value from the database.
"Let's face it, the average computer user has the brain of a Spider Monkey."
Bill Gates
|
|
|
|
|
Sorry to butt into your thread here, but there is a problem with this architectural approach. Suppose you have two users typing in values, and they both enter the same value. User 1 does the check to see if it's present and it says "Nope - ok to enter it here" because the row count is 0. User 2 does the check to see if it's present and it says "Nope - ok to enter it here" again, because the row count is 0. However, User 1 now inserts it into the table. When the code for User 2 attempts to insert the record, it is now duplicated.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O'Hanlon wrote: Sorry to butt into your thread here
No worries. Didn't really think of any race condition occurring. Could do some kind of record locking through the app, but even if he could mark the record as being currently in use, there could be a race condition on that, too...
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
|
Hi,
I've been trying to work out how to iterate through a collection object using reflection.
I have a class with a few simple objects, strings, single[] arrays, and one collection.
However, when I'm using the GetFields() method to retrieve the objects in my class, when it gets to the collection I am unable to view all the items in the collection.
dim coll as collection = FieldInfoObj.getvalue(obj)
console.writeline("Collection has " & coll.count & " items in the collection")
for each item as object in coll
do_stuff(item)
next
Although it correctly states that I have 4 items in the collection, item 1 is Ok. item 2 is 'nothing' and item 3 causes an error. But I do actually have 4 'singles' in the collection.
How do i access the collection objects using reflection?
I *think* I need to reflect into each object seperately, and not just iterate through them after setting the main collection object using the getvalue(obj) method as I would with the other system.xxx type objects (which work fine)
Could anyone provide a simple example of how to iterate through a collection using reflection?
Thanks in advance,
Phil.
|
|
|
|