|
Yes Mr.Dave,
trying to time how long it takes to send an SMS...
What DOES it give?
It takes different timings (seconds) to send an sms.(i.e) first number takes 4 sec to send an sms, second number takes 6 sec,third takes 7 seconds......
what are you expecting??
what I am expecting, all numbers should takes a fixed time(seconds) to send an sms.
|
|
|
|
|
scothyhut wrote: It takes different timings (seconds) to send an sms.
So what?
scothyhut wrote: what I am expecting, all numbers should takes a fixed time(seconds) to send an sms.
No, that's simply a bad assumption. Since you have no control over what happens when your application deals with an external resource (like an SMS server), you will never get a consistent fixed time frame. You can get an AVERAGE time to send, but you need to time a bunch of messages before the number has any meaning.
|
|
|
|
|
Ok...I am trying to fix an average time between each sms sending. Because, I have to send 7 or 8 sms per minute.If nothing happen during this time, sms will be resent(saved into outbox).
How to do this? Give some idea...
|
|
|
|
|
I have two xmls and want to compare the contents of these two xmls using TreeView in VB .Net. Pls help me.
|
|
|
|
|
Since TreeView controls don't have any method of comparing themselves to other trees, you'd have to compare them using your own code. Or am I missing something??
|
|
|
|
|
|
ArunUtkarshaRana wrote: want to compare the contents of these two xmls
So far so good
ArunUtkarshaRana wrote: using TreeView in VB .Net
Why? What is the need?
You want to populate 2 Treeview from 2 xml then make comparison?
Why don't you compare the 2 XML File against each other?
Samir R. Ibrahim
|
|
|
|
|
Hello,
i am creating my report table in word doc using VBA. When my application hangs and trying to open the word doc again, it says, document is locked by user or some time popup comes asking want to open as ready only. How can i close the word doc before opening it again.
Thanks and regards
Jishith
|
|
|
|
|
write the below code in closing event
wrdDoc.Close(False)
wrdDoc = Nothing
wrdApp = Nothing
or
kill the application from the process
|
|
|
|
|
jishbalan wrote: When my application hangs
If your application hangs, you don't get the opportunity to close the file properly. That's why you can't open it on the next run. The system still thinks you have the file open. Your code cannot correct this situation, unless you manage to stop hanging in the first place.
|
|
|
|
|
|
hi guys, Am trying to write a program that uses multiple threads to transfer large files over the internet. I also want to limit each chunk transferred to 1024 bytes to prevent timeouts and make it scalable. The transfer speed should depend on the number of threads used and not the size of the buffer/chunk. Any suggestions would be appreciated. Thanks in advance.
|
|
|
|
|
You haven't asked a question or described a problem...
|
|
|
|
|
Can anyone suggest me how to develop a translation software?
what are the basic requirements?
|
|
|
|
|
|
language
eg:
english to spanish
french to english
|
|
|
|
|
This is going to be a very difficult project. You have to be able to parse a sentence, approximate it's meaning, and lookup a similar concept in a dictionary to return the proper word or phrase in the new language, then string the piece together in a manner that makes sense in the new language.
You're not going to get a course in doing this in a forum environment. There is no one book that is going to cover doing this and there are entire university course sets that just scratch the surface of this topic.
Google results for "writing your own language translation software[^]".
|
|
|
|
|
I have an application which uses a SQL connection and brings data into a datagridview. The app allows the user to take this data, make changes on it and then save these changes.
This is fine when the user only brings back and manipulates around 100 - 1000 records, when the recordset is higher than this, all records that have been manipulated get inserted into the database apart from 1 record.
The error message within the application says 'Cannot insert NULL value into column 'QuoteID', column does not insert NULL's. Insert failed.
The app always brings back this error when using a large recordset, when i look in the db to see how many had been imported, every record is saved except one.
Just wondering if anyone had come across something like this before.
|
|
|
|
|
Shrimpersfan wrote: The error message within the application says 'Cannot insert NULL value into column 'QuoteID', column does not insert NULL's. Insert failed.
from above message, it is clear that column 'QuoteID' does not allow null value. whether you debug your code for record which have null value for column 'QuoteID'. Check for the last row of datagridview which may be contain null value for column 'QuoteID' (or for all fields)
|
|
|
|
|
Hi Rupesh.
I have looked at the databases and looked for any NULL's in QuoteID but none appear. In my datagrid view, there is a white space below the last field (space to enter another record) but i shouldn't think the app will be trying to import a record from this.
It's also strange how the import works with a smaller dataset but not with a large one.
I have commandtimeout's in my code too.
David
|
|
|
|
|
Shrimpersfan wrote: I have commandtimeout's in my code too.
whether you try to increase CommandTimeOut?
|
|
|
|
|
Yes i tried different intervals, in the end i used 0 so the app should never time out.
David
|
|
|
|
|
can you post the code snippet so i review it for some clue?
|
|
|
|
|
Well my app uses stored procedures to call up data, will be a lot of code
|
|
|
|
|
Hmmm.
i want to show only the code that how can you update the data from datagridview to database.Most probability is that you can not supply value of column 'QuoteId'( or all field for last record)
|
|
|
|