|
So, u mean there is no way i can get a value from a page to another? except with Session?
BECK 7
|
|
|
|
|
I didn't say that. I said why your solution failed
You can have <input type="hidden" value="pass_me_to_other_form" /> That way, you can acess its value same way as you tried with textbox.
David
"Stay Kul And Happy" I.A.
|
|
|
|
|
No, you're not talking about C# at all. You're talking about a TextBox on an ASP.NET Web Form. It doesn't matter what language your using, the problem is still the same.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I posted this on ASP.NET area and they send me here...so is asp.net with c# or c# on asp.net?..Anyway, it doesnt makes sense keep talking about this...
Thanks anyway...
BECK 7
|
|
|
|
|
I am using TotalRecorder(ww.highcriteria.com) in my application developed in C#. My Application inetract with TotalRecorder through COM. Total Recorder provides a sample in VC 6.0 for saving the recorded file at a specified folder location. I have converted the VC 6.0 code to C#, everything is working fine except when i call the method that saves the recorded files, the method takes variant as input, while the wrapper for this method generated by VS 2003 takes object as input. I passed him with the required parameters but it gives error 'Method Not Implemented'. Both the codes are given below. Please help me in conerting this VC code (variants) to C# (objects)
This is the code in VC 6.0
_variant_t vartFileName;
VARIANT vFmt;
vartFileName = cFileName;
vFmt.vt = VT_ERROR;
vFmt.scode = DISP_E_PARAMNOTFOUND;
g_pTRDoc->SaveAs(vartFileName, vFmt);
I have converted this in C# like this
string FileName = "c:\test.wav";
rec.ActiveDocument.SaveAs(FileName,System.Reflection.Missing.Value);
Thanks
Basit Tanveer
Software Engineer
|
|
|
|
|
hi i need running ping class to use it in my project
please if any one have any ,send it or send the link
i needed as soon as possible
or even send me link 2 any site i can use 2 search for one
|
|
|
|
|
|
I'm working on a Database project that has a person entering data in from a form, a Record of Service. I would like it so that when they type in the first part of the customers first or last name (seperate fields in the DB) that a list of options of customers comes up that matches what they are beginning to type in, they then can select the client 's name from the list, and the clients info will be filled in automatically.
What is the best way to accomplish this?
Thanks
|
|
|
|
|
add an event handler for the TextChanged property of your textbox
there you can filter data of your collection according to the value.
or you iterate your collection and find the substring in each value (OK if not to many values) or you execute a query creating a new resultset and replace your collection. (this one is better)
maybe someone else has a better method.
good luck.
No hurries, no worries.
|
|
|
|
|
V,
Thanks for the response,
I assume you mean that the TextChanged property will pass a value to be queried in the Database? Do you think it would make more sense to have something other than the textbox, maybe a dropdown box?
Thanks again,
G
|
|
|
|
|
No, the app will enter this event while typing, you then get the value out of the textbox and do stuff with it.
For filtering I think this is better than the combo, those are usually used to filter on contexts, eg. an online cpu hardwareshop would implement a combo with values: Motherboard, graphical cards, memory, etc. to narrow down the search. The searchvalue itself is typed in a textbox...
good luck.
No hurries, no worries.
|
|
|
|
|
I have a windows based application. It collects data from user and on click on submits, it has to submit data to web service. Later, need to show the results from web service.
When user click on submit, I am trying to show an hourglass image and text please wait. But when I click on button, window behaves like hanged till it gets response from web service. After getting response, it shows the image and text.
How can I show image while it is connecting to web service and getting response.
Thanks in advance
- ashish
|
|
|
|
|
Try calling Application.DoEvents after the code for showing the image and text.
www.troschuetz.de
|
|
|
|
|
|
rami60i'm developing a project containing a pinging function
i ping multiple ip's in sequance
i check if the soket.available>0 i start recieving on soket
the problem is the soket keep filling the memory causing very law vertual memory
is there any way that i can reset the memory usage by the socket or do any thing to free the memory after i finish every recieve on soket
or even restart the socket?????
|
|
|
|
|
There is something seriously wrong with your code. There's nothing in a socket to modify tochange it's memory consumption habits.
You said you were just pinging IP addresses? That won't fill up memory. Without seeing your code, it's impossible to tell you what's going wrong.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
From MSDN Library:
When you are finished sending and receiving data, use the Shutdown method to disable the Socket. After calling Shutdown, call the Close method to release all resources associated with the Socket.
|
|
|
|
|
I want to display 50% opaque progressbars on top of my listview items as seen in this screenshot.
My Test ScreenShot
The screenshot is a hack I made to show what I want to happen. How can I do this? I need the listview items to be seen through the progressbar controls and respond to mouse-events, etc. Is there some way to extend the listview items to get this functionality?
|
|
|
|
|
|
|
Hi
I am Ilangovan,newbie for .NET.I have to send picture messages & ring tones
through GSM/GPRS modem using C#(preferred) or VB.NET...I need sample code for that.anyone can help me pls...
Thanks in advance
Regards
M.Ilangovan
Thank you very much
|
|
|
|
|
How I can remove a sheet by excel file using SQL.
I tried to use the Drop Table command, but it remove the contents of the sheet; but I not want remove the sheet contents I want remove the entire sheet.
Tanks,
Gianp.
|
|
|
|
|
im hiding the groupbox and i want to fill the empty space with datagrid that is still visible. how do resize the datagrid to feet the space, is there a easy way?
|
|
|
|
|
You can simply assign a new Location and Size property to any control to alter its appearance:
grpBox.Hide();
dataGrid.Location = grpBox.Location;
dataGrid.Size = grpBox.Size; Regards,
mav
|
|
|
|
|
i dont understand why
1.) dataGrid1.Size = groupBox3.Size + dataGrid1.Size;
work
and...
2.) dataGrid1.Size.Height = groupBox3.Size.Height + dataGrid1.Size.Height;
dont
i wanna change only dataGrid1 Height
|
|
|
|