|
All a web service sends and recieves is XML, I imagine the ability to send/recieve a class is a non standard thing that .NET does, through .NET serialisation. So, an alternative may be to return a string which has your two values with a delimiter.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I want to create some flow charting in VB. I do not have Visio and will likely want the ability to distribute my project. What are my options? Am I forced to purchase a 3rd party component? If so, can anyone recommend one?
Thanks
EM
|
|
|
|
|
Depends on your skill level. You could write your own library to do it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Always happy to take the plunge but might be limited to time. As such, would want something flawless - quickly. I was also wondering if you could use a flowlayout panel or the more advanced layout panel and just use buttons - but assuming that I will still need to connect the buttons with the appropriate directional flow arrows.
Thanks
EM
|
|
|
|
|
I'm using Wizard generated controls in a database project.
I have a dataset, bindingsource, and table adapter. There is a datagrid bound to the binding source.
I'm trying to call RemoveAt() on the binding source, but it throws an error indicating that the list is
FixedSize and cannot be modified. How do I fix this?
Thanks in advance.
|
|
|
|
|
Hi,
I am using OleDbConnection to connect to the database. When the connection string get passed i can see clearly that the password is encrypted. But all the queries and the results are communicated in clear text. Is there a way to send this encrypted?
I just wonder, because all my passwords in the database are stored encrypted...
Thanks
PS. I am using .NET 1.1
|
|
|
|
|
Hi,
I was wondering how to convert a byte value to a binary array.
for example the byte value 16, how to convert into 1111?
Thanks!
|
|
|
|
|
Hi,
AFAIK there is no direct solution, you'll have to write some code.
Here is a C# example:
static string ToBinaryString(int number) {
char separator=',';
int nibbles=8;
int index=5*nibbles-1;
char[] chars=new char[index];
for(int nibble=nibbles-1; nibble>=0; nibble--) {
for(int bit=3; bit>=0; bit--) {
char c='0';
if((number & 1)!=0) c='1';
chars[--index]=c;
number>>=1;
}
if(nibble!=0) chars[--index]=separator;
}
return new string(chars);
}
It will generate a fixed-length string, i.e. zeroes get prefixed (since that is
the way I like to have non-decimal numbers), and comma's get inserted every 4 bits.
BTW it will turn 16 into "0000,0000,0000,0000,0000,0000,0001,000"
and not in "1111" (which is 15)
|
|
|
|
|
Hi all,
Can you please help to guide me through the following for OWC11 in vb6:
1) plot a chart with 2 value axis, both are line chart
2) add annotations(text) in chart area, with controllable alignment, font, color and location
3) draw lines in chart area, with controllable alignment, color and location
Thanks all
BR
Vincent
|
|
|
|
|
hi guys
as oledbpermission class and io access related classed need to run in full trusted environment
, but is there any way that we can create some custom persimission set like stuff to run these asseblies which require oledb and io permission to run in the partial trusted environment like intranet,, thans in advance
hello
|
|
|
|
|
Hi,
I am developing a windows application. In this I have a list box which should be populated with a list of categories in the form load event.I've used a DataReader to do this. when I add a new category it should be automatically added to the list box also.I should use a seperate form to add a new category.If it's a Web appl it's very easy as the page will be refereshed every time.
|
|
|
|
|
hi
Do you want those Categories to be Added to the DB, when you add them with your list box, but still appear in your form? if so , remember you cannot update a reader, then you should use a dataset. please explain angain in detail what you want to achieve
thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
In visual studio 2005, i have used a masked textbox control and set its mask property to phone number.
Also I am using a button to insert the phone number into the masked textbox(as shown in the code), but when i do so,
it inserts the number in the masked textbox from the end part not the beginning.
Code...
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MaskedTextBox1.Text+="1"
End sub
How to insert the value in the masked textbox from the beginning like in a normal textbox?
Any ideas??
|
|
|
|
|
xbiplav wrote: MaskedTextBox1.Text+="1"
that is the same as MaskedTextBox1.Text = MaskedTextBox1.Text + "1"
so it appends a single 1 to whatever is already in the MTB.
|
|
|
|
|
My question is not concerned with appending the number that was already in the masked textbox.
Actually what it does is, it append the value from the last part of the masked textbox control.
I want it to append from the beginning like in a normal textbox control.
To be clear, please try it yourself.
|
|
|
|
|
xbiplav wrote: append from the beginning
there is no such thing as "appending from the beginning".
x+="1" will append a one to the existing string, increasing its length by one.
x="1" will throw away whatever x was holding and put one instead; the resulting length
will be one.
what textboxes typically do is select any text that happens to be present upon cursor entry;
the first thing you type then replaces the present text (that's like x="1"); the second
character you type is appended, etc.
When you use other means to add text to the textbox, it does not get focus, so the
present text is not selected and replaced.
|
|
|
|
|
I am sorry i cannot make you understand my question.
You have to test the problem yourself to get understanding of my question.
|
|
|
|
|
I can't as you fail to show a problem or a complete program.
There are several articles here about MaskedTextBox, maybe they can help you?
|
|
|
|
|
Please try using .AppendText .....
|
|
|
|
|
xbiplav wrote: MaskedTextBox1.Text+="1"
If you want to add the text at the beginning, how about
MaskedTextBox1.Text = "1" + MaskedTextBox1.Text
|
|
|
|
|
hello everybody!
I want to know about this above exception and why this exception occurs. If someone has experience with this exception, please tell me detail message about this.Now I can't find more information about this error code.Please help me.
phoopwint
flowerppk
|
|
|
|
|
Are you using a third party control, like Crystal Report Control?
I kept having this error when trying to display a Report. The report control was getting an error, it just doesn't
know how to report it to .NET. There was something wrong with my report. Once I got the report fixed, everything was fine.
|
|
|
|
|
Put it in a google search and see what happens.
phoopwint wrote: please tell me detail message about this.Now I can't find more information about this error code.Please help me.
You failed to supply any details of what you are doing and expect people to magically know what the error code is?
"I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon
|
|
|
|
|
I want to create My Computer treeview like windows explorer in VB.Net. Would anyone help me ? Thank you very much.
|
|
|
|
|
Hello,
I need to sort in datagridview programmatically 2 columns, 'Main' Column and after 'Sub' Column.
The datagridview is unbound, I adding rows through datatable.
With DataGridView1
Dim IdxMainCol as integer=.Columns("Main").Index
Dim IdxSubCol as integer=.Columns("Sub").Index
.Sort(.Columns(IdxMainCol) & "," & (.Columns(IdxSubCol))
end With
Please help
Shay Noy
|
|
|
|