|
the.bombardier wrote: i mean how can i verify if it is an actual existing address?
The only way to do that is to send an email to the address with a link, coded specially for that address, to a website that the user has to click on. The web application that takes the data in the URL and uses it to figure out which address that is the one that clicked on the link. It's impossible to do it in an automated way. If there was a way to do it, we'd all have thousands of times more spam in our email boxes!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hello everybody
I want to know that what are the different types of client server architecture ?
What is file server architecture and client server architecture ?
Examples of different databases that are of either type and what is the difference between file server and client server architecture ?
|
|
|
|
|
wrote: I want to know that what are the different types of client server architecture ?
I don't really know what you mean by that. There is only one architecture. You have a server and you have one or many clients that connect to the server.
wrote: What is file server architecture
It is a form of client server that serves files to clients.
wrote: Examples of different databases that are of either type
A database is a form of client server. You have a database server (e.g. SQL Server) and you have clients that connect to the database.
|
|
|
|
|
Can i debug a program from Program Debug Database (PDB) file, without open project in source code ? What is the usage of this file? If yes, How to do that ?
Thanks in advanced for all the replies!
|
|
|
|
|
If the .pdb is in the same location as the executable and start it with the dbgclr.exe debugger it will use it...
|
|
|
|
|
I have an application which automatically opens every 1 hour for all system in the LAN.
In that application,i have a button like "Select". who click the select button first, the application will continue running on that system and others systems i want to close the application.
if it is possible in multicasting, plz tell me
Please give help how to do, and if u have any link plz give me.
Thanks & Regards
Kumaran
|
|
|
|
|
i want to change the cellwidth of all the columns in a table in a dataset. records are taken from database and using adapter i am filling the records to dataset and i am assigning that dataset to datagrid.but i want to make some columns bigger in datagrid .how can i make that
|
|
|
|
|
Give the grid the dataset then use the grid to change the properties...
grd.columns("TStamp").width = 200 'width of column
grd.columns("TStamp").headertext="Time Stamp" 'column header
etc
|
|
|
|
|
I have a form that is opened from several different places and with different code in form.load depending on which form opened it. How can I tell which form or 'Parent' form opened the 'child' form? Thanks in advance.
|
|
|
|
|
You can add a "parent" field and property to the child form. When the "parent" is about to open it it sets the property.
Alternatively, you could provide a constructor that accepts the parent form as a parameter. It can then store the information in a field
|
|
|
|
|
Thanks for the answer, but I don't understand what you mean by 'field'. I'm having problems with;
If Childform.parent = formParent then
' my code here
End If
does this make sense?
Thanks
|
|
|
|
|
sdkgolf wrote: I don't understand what you mean by 'field'.
It used to be known as a "member variable" in C++.
|
|
|
|
|
Does anyone know how to disable a tabpage on a tabcontrol but leave the others enabled.
|
|
|
|
|
Just remove the tabpage and add it again if you want to use it.
tbSpecialAddMain.TabPages.RemoveAt(1)
tbSpecialAddMain.TabPages.Add(tbpMarketingDetails)
Or use this
Private Sub TabControl1_Selecting(ByVal sender As Object, ByVal e As System.Windows.Forms.TabControlCancelEventArgs) Handles TabControl1.Selecting
'\\Disable Selection of tabpage1
If TabControl1.SelectedIndex = 1 Then
TabControl1.SelectTab(2)
End If
End Sub
|
|
|
|
|
tnx a lot
|
|
|
|
|
Hi All,
Anyone knows how to make Infragistics.winGrid or WindowsGrid do operations like sorting/grouping alike in a separate thread.
Thanks.
|
|
|
|
|
Hello,
I am trying to figure out the best way to find the closest match and output the most probable match (like a fuzzy match)
For example if I have a textbox and input a string and hit a button to match, I want the code to go through a database table (but for the ease of this example, lets say a listbox) and see if there is an exact match. If there isn't one, I want to code to find the most probable, next closest match and output that instead
For more detail on this, lets say the textbox has A70851 and we first check to see if that exact number exists in the listbox. If it doesn't but there is A70951, then the code should match to that being that it is the next closest match.
I would imagine the code would have to look for the one that is only one character off (like in the example above) and if no luck, then two characters off and so on until it finds something or simply can't find any match.
I am racking my brain over this, please help!!!
Thanks in advance.
Mike
|
|
|
|
|
on click:
<br />
if me.listbox1.items.contains(me.textbox1.text) then<br />
me.textbox2.text = me.textbox1.text 'or whatever you want it to do<br />
else<br />
me.textbox2.text = me.listbox1.findstring(me.textbox1.text) 'or whatever you want it to do<br />
end if
this will check for an exact match, then if that is unavailable, will return the closest match. i just used textbox1 as the input and textbox2 as the output.
Posted by The ANZAC
|
|
|
|
|
Anzac,
Thank for your your response. I tried this code and it appears to work well. Quick question for you (since I am still fairly new). When it finds the closest match I noticed that it will output the position/index of the closest match instead of the number in that position.
For example, if the closest match is 9th down from the top in the list, the code will output "8" for the position of the number in the list instead of the actual number in the list.
Thanks!!
Mike
|
|
|
|
|
it will give 8 instead of 9 because in vb.net all items that are indexed start at zero. So the first item is zero the second is 1 etc. Your index will always be from 0 to (no of items - 1).
if you want it to output the actual value then instead of:
me.textbox2.text = me.listbox1.findstring(me.textbox1.text)
use:
me.textbox2.text = me.listbox1.items.item(me.listbox1.findstring(me.textbox1.text))
Posted by The ANZAC
|
|
|
|
|
|
Hello,
Thank you for your response. I agree that string edit distance seems to be what I need. The only problem is that all the examples I saw show how to compare one string to another but not one string to a whole list and pick out the best.
Do you have any ideas on that?
Thanks,
Mike
|
|
|
|
|
well, the brute force approach says that you do the calculation against each of the strings in the list and pick the string with the lowest edit distance
Im sure there is a way of optimizing this approach, I just cant recall it
'g'
|
|
|
|
|
That's what findstring does. it's a built in function for the listbox that searches the list, comparing it to a given string and returning the closest match. There really should be a need for complex string algorithms.
Posted by The ANZAC
|
|
|
|
|
These 13 textboxes are in a group box. When I click the calc button I need to add the total of all of these textboxes. I just need a way to do it with out typing soooo much code. Otherwise this is how I would do it...
If isnumeric(textbox1.text) and isnumeric(textbox2.text) 'and so on and so on then<br />
label18.text = "$" & int(textbox1.text) + int(textbox2.text) 'and so on and so on<br />
end if
however i do not wish to type 13 textbox(isnumeric) and 13 textbox(int)'s. There has got to be an easier way to do this with less code. Thank you in advance!!!
|
|
|
|