|
eg_Anubhava wrote: Actually I am working with mobile application for sending sms for list. But When i am try to send message by using thread the mobile will be hang and Message not sends. "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/IV
Support CRY- Child Relief and You
|
|
|
|
|
NO IT'S WRONG. MY FUNCTION AND LOOP IS CORRECT.
THE PROBLEM IS THAT WHEN I M SENDING MESSAGE CeCreatePROCESS TAKES REQUEST FROM SERVER AND THIS TIME ANOTHER RESUEST IS COMES FOR SENDING MESSAGE. AND THEN MOBILE WILL BE HANG. SO SOME MESSAGE NOT SEND.
If you can think then I Can.
|
|
|
|
|
|
what it means.
If you can think then I Can.
|
|
|
|
|
Actually i am having a list of controls in multiple Controls selections like Picturebox,Textbox ,Label,LinkLabel etc .
Now i got Picturebox in the Multiple selection of control .
In cCustomProperties Class i am having FORECOLOR ,BACKCOLOR ,FONT ,SIZE , LOCATION
Common Properties class all the controls to show for multiple controls if selected in the propertygrid.
Case :: 1
If i get the PICTUREBOX in the List Of Multiple Controls i want to hide the FONT,FORECOLOR,BACKCOLOR Properties and to show only LOCATION,SIZE PROPERTIES .
Case :: 2
For LINKLABEL i am fixing the size of the Linklabel to 7,7 and label text as * .So if i get the linkLabel in the list of Multiple controls i want to hide the SIZE ,FORECOLOR,BACKCOLOR PROPERTIES
Presently i am taking different class for all these conditions and doing Permutations & Combinations . Which is Risky THING TO DO THE THINGS . I want to Stop doing all these non-Sense things .
I want to implement the way in visual studio if Multiple Controls are selected . In the PropertyGrid i get only the properties which are common to all the controls .
Ex :: Consider the label and Picturebox in Multiple Selection. THE FONT PROPETY is hiding . IN THIS WAY DYNAMICALLY .
Regards
|
|
|
|
|
I've never done anything like that before, but I can think of one method that might work.
Enumerate the properties of each control. Put the property names in a collection and count the name of times each property is found for each control. Now go through the collection of property names and look at their count values. If the count equals the number of controls selected, you've found your common property names.
|
|
|
|
|
I compress data in a stored procedure delivering it to the applicatiom as a dataset. That dataset is then bound to the aspx page in a datalist and a textbox.
If the data is entered in the textbox, then I need to extract the data from the datalist on that row. I know there is a way to get the textbox data with a "FindControl", no problem, I just don't know how to get the rest of the data for that row.
Can you assist with 1 or 2 lines of VB code, as to how to return the actual data from the row.
Thanks
Chuck
modified on Friday, June 5, 2009 12:42 PM
|
|
|
|
|
I can't, but somebody in the ASP.Net forum is likely to be able to.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Thanks for trying Henry, but this is not an ASP.Net problem. This a VB.NET WebForm code problem. I asked an application code question in asp forum yesterday and got shouted out. I wont do that twice.
|
|
|
|
|
Sorry!
I wouldn't have done that deliberately, I read as far as aspx, and thought 'not another one'.
Hope you get a response from someone with more than two brain cells.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hello
does anyone knows how to communicate through a VPN in VB.Net 2005. I have implemented the communication with the WI-FI but my company wants the ability to call when they are not near a hot spot. I used RAPI for the WI-FI but I cannot figure out what to use for the telephony part.
Any help or guidance would be appreciated.
clanguage
Software Engineer
|
|
|
|
|
I don't think I understand your question.
The way my VPN works on my laptop is that it is a small piece of software that I run when I am not inside my office network, like at a hotel. The hotel provides me with a connection to the Internet and the VPN software provides the "secure tunnel" for me to connect to my corporate network.
Once the VPN is started, everything on my laptop works, nothing special to access corporate network resources. This would mean that if I had a Symbol Scanner connected to my laptop and I was reading barcodes against a database that is back at the office, the scanner would work just fine.
The VPN does all the work for you. Your program that controls the scanner wouldn't even know that it was connecting through a VPN.
What is your problem ? You may have an issue with your application not being able to resolve server names; if so, it is most likely a problem with how your VPN is configured.
Here is a simple test. While connected to your corporate network you should be able to "ping myserver". Now outside the corporate network, start your VPN and try the "ping myserver" test again. If it doesn't work, then you need to resolve that first. Your application won't work if it can't resolve the "myserver" while the VPN is running.
|
|
|
|
|
Sorry I was not more explicit. I am scanning barcodes and other datum with the Symbol scanner and I must transfer it to a database situated sometimes thousand of miles away. I am using VB.Net 2005 to write the applicaiton.
First I need to unsure that I can connect and once I have a connection i need to update the database. Finally i must close the connection. I have no problem acccessing the VPN with the scanner manually but I must do it programmaatically.
clanguage
Software Engineer
|
|
|
|
|
The VPN connection should not be done in your app at all. This would tie your application to that specific VPN provider and make it pretty much impossible to change the VPN your company uses without changing your app.
Start the VPN connection from outside and seperately from your app, then start your app and it'll connect to the database without even knowing the VPN is there.
|
|
|
|
|
It seems that I was going about it the wrong way. I will try that and see what happens. Many thanks to all.
clanguage
Software Engineer
|
|
|
|
|
I have a couple of doubts and need clarification
1) Is Data control or plain coding good for data accessessing in VB.Net ? Books said it was not good to program using data control (back in vb6 and so I was good at plain coding).
2) If Data control is okay can I use both Data control and plain coding (seperately, ofcourse) in the same project ?
It is my doubt for a long time and someone please clarify.
Thank you.
|
|
|
|
|
tiagu wrote: ) Is Data control or plain coding good for data accessessing in VB.Net ? Books said it was not good to program using data control (back in vb6 and so I was good at plain coding).
Are you trying to learn VB.NET using an old VB6 book?? Don't. Pickup a book on VB.NET. It's VASTLY different and far better than VB6.
I have no idea what you're talking about when you say "Data control" and "plain coding". You're going to have to explain these for us to give you any kind of meaningful answer.
|
|
|
|
|
tiagu wrote: Is Data control or plain coding good for data accessessing in VB.Net ?
For a lot of data access scenarios, it is far better to use the inbuilt VB.Net Controls, as the coding effort required to implement their traffic reducing features and security alone , would be enormous. The .Net versions are far and away better than previous versions.
tiagu wrote: can I use both Data control and plain coding (seperately, ofcourse) in the same project
Yes. But you will need to learn about the Currency Management features of .NET, at the very least, to ensure no interaction problems.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Dave and Henru, in VB6 we can add a data control to the form and then write little coding to make it work effeciently. By plain codeing i meant interacting with database without using this data control. I was reading VB.Net books and still assumed data control has to be dragged to the form like in VB6.
I am new to VB.Net. And I naturally assumed I had to add a data control to the form for data interaction. In the past 4 or 5 days I have learnt through VB.Net documentation (this time carefully) that with inbuilt data control (as Henry said) we can code using data adapter, dataset and so on.
Now I think i am beginig to understand the answer to my own question (ofcourse with your help).
Thank you both for taking time to answer my pretty vague question.
Thank you once again with hearty gratitude.
Thank you Henry for your encouraging and sympathetic answer. Thank you.
|
|
|
|
|
hai everyone ,
well , i am trying 2 find a code in vb 2005 about how 2 search 4 string in a listview contains 4 column , whaterver if the complete (exact) word or a part of it , or even a single character , or a digit in each of these columns .
really i tried some codes but i cant figure it out , so if any one have a right code or example 4 this .. please tell me
thanx guys.
|
|
|
|
|
First, don't use TXTSpeak in the forums. It makes your posts hard to read and understand.
Next, You have to iterate through each item in the ListView yourself and probably use a Regular Expression to find the test your want.
No, I'm not writing your code for you.
|
|
|
|
|
As Dave said, and you might find the .Contains(String) function of a string useful. Also, because if only one character matches (in your case), you can iterate through each character in a string and see if it matches any character in the given string. Good Luck!
Zaegra
Motivation is the key to software development.
|
|
|
|
|
hi..
i am trying to develop a report using crystal report with ttx using vb.net 2005, in the first stage i created the report with data source as Field Definition Only. problem am facing is that how should i insert values to the ttx file. plz help me out in solving this..
|
|
|
|
|
Greetings !!!
I'm writing an app which has a WebBrowser where I'd like to open things like Word documents, pdf and djvu files etc.
The really BIG thing that I need would be to, say, open a file in the app's WebBrowser on a specific page.
How can I do it? Essentially I need to be able to access the document that is currently opened in MyWebBrowser and set it's page to, say, 4.
Any help would be greatly appreciated.
|
|
|
|
|
I'm not sure that you can. You would do better to use Word directly via the tool for office, instead of putting it in a web browser.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|