|
Data loading reasons....what might they be? Couldn't you do something like:
<br />
On ButtonClick()<br />
<br />
GetData<br />
AddToPanel<br />
ShowPanel<br />
<br />
Or am I missing the reason completely lol!
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
The panels contain data grids which are bounded to data on an external database. With the 3rd party library which we are using when you bound an object like this, if retreives stuff from the db automaticly which I don't want to do everytime for bandwidth reasons.
I tought that by only creating the panels when they are used I would not create a panel the user never uses and thus save bandwidth.
|
|
|
|
|
This is actually a Visual Studio.NET problem. When I write a Turkish character in the source code files and then close/open visual studio, the IDE changes my Turkish character to another character which is not what I want (for example when I write "Uygulaması", it becomes "Uygulamasi"). I save the source file with Turkish-ISO encoding but the problem persists.
Did you encountered a problem like this before?
|
|
|
|
|
Add the following meta tag, save and then try whether it works or not.
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
|
|
|
|
|
Hello,
I want to know that how to implement "SKINS" in VB.NET.
Kindly help me
EsHbAn BaHaDuR
|
|
|
|
|
You'll be searching for "Nonrectangular forms" on the web, but, as a head start...
Irregular Forms and Region Clipping[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi friends
i've got stuck about allocating one webpage into a specific frame, i do not know what system commands could be used to do so. when a user click on a link in one frame, that website should appear in other frame.
for example: i have a link button named Calendar, when the user click on this button, the calendar interface would display in the other frame.
could anyone help me please?
thanks in advance
|
|
|
|
|
Your question would be better handled in the ASP.NET Forum[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hello,
Kindly help me ???
How can i read the (*.rtf) Rich Text Format
file through FILE HANDLING in VB.NET.
I want to use (RTF) extension so that file cannot lose its formatting i.e (bold, italics, font size etc).
plz help me
Regards,
Eshban
EsHbAn BaHaDuR
|
|
|
|
|
|
Im using a console application because the program im working on is for automation purposes. Only problem is, i can figure out how to end the program. In a forms based program is is ME/MYBASE/THIS(C#).Close (because the program is a class) in the console its none of these. Ive tried Wrapping the API call of FreeConsole from Kernel.lib and it works only it doesnt stop the undrlying process just the window. Is there an easy way to do that that i may be overlooking?
Thanks Very much for the help.
G. R. Martin
|
|
|
|
|
|
yeah i know but i need to to prematurely quit... say on error... and im 4 functions down... and it cant just send me to an error dialog... has to print to a screen ... wait for any keypress and then terminate like a good dos program does...
|
|
|
|
|
I dont' know if this will work for you (I don't get into console apps very much), but you could try Application.Exit() .
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
No it doesnt... if this were C# Forms or VB forms that might work, however... a console app is a module, it hasnt got a class name or functions behind it beside what it builds... id need to say get a handle of the running thread, and tell that thread to terminate...
im just not sure as to how i should do that.
Ive wrapped a few of the console APIs... FreeConsole onle destroys the window handle to the console itself... it doesnt terminate the process behind it...
|
|
|
|
|
Oh well, it was just a quick thought...
In that case, I'd implement a scheme as Colin suggests. Be sure it is a custom defined Exception and throw that when you need to. Make sure that the only Exception Handler that can handle that exception is the one in Main. All other exception handlers must not handle this exception if they do, must catch, then re-throw the exception to send it up the call chain back to Main.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Then throw an exception.
Create an exception class that is used for nothing else than premature exit. When you need to exit early throw the exception. Wrap everything in your main in a try/catch block and catch this specific exception. The catch handler can then process the exit in a considerate manner.
Do you want to know more?
Not getting the response you want from a question asked in an online forum: How to Ask Questions the Smart Way!
|
|
|
|
|
Is this what you are looking for?
System.Environment.Exit(0)
Jason
|
|
|
|
|
Yes... Thank you... sometimes i wonder if they hide things on purpose...
But thank you so much
|
|
|
|
|
How can you search through a data set for a specific value?
search dataset in column 1 for value1
search dataset in column 2 for value2
search dataset in column 1 and 2 for value1 and value2
I'm sure this is possible but not sure where to start?
Thanks,
Beginner in ASP.Net and VB.Net
|
|
|
|
|
normally id just create a loop and go through all of data row by row... You could function that as well, to allow you to use the same code for different sets of columns and values...
If anyone else knows something easier id like to know as well...
|
|
|
|
|
Your suggestion would work. Could you supply some code for me to work off of?
Thanks,
Beginner in ASP.Net and VB.Net
|
|
|
|
|
'Make a fake DS and Table
Dim DS As New DataSet
With DS.Tables.Add("Account Numbers")
.Columns.Add("FName")
.Columns.Add("LName")
.Columns.Add("ACCTNO")
End With
'FName |LName |ACCTNO |
'------------------------
' | | |
' | | |
For Each r As DataRow In DS.Tables("Account Numbers").Rows()
If r.Item("FName") = "John" And r.Item("LName") = "Doe" Then
'DO SOMETHING
End If
'Modify a specific value
Select Case r.Item("FName")
Case "John"
r.Item("ACCTNO") = "J" & CType(r.Item("ACCTNO"), String)
Case "Dan"
r.Item("ACCTNO") = "D" & CType(r.Item("ACCTNO"), String)
End Select
Next
'to return a row number
Dim cnt As Int32 = 0
Dim rownum As Int32
While DS.Tables("Account Numbers").Rows.Count() > cnt
With DS.Tables("Account Numbers")
If CType(.Rows(cnt).Item("FName"), String) = "Joe" Then
'if in a function return cnt
'otherwise change a var out of scope
rownum = cnt
End If
End With
cnt += 1
End While
you can function these out... i hope it helps... also you can return full rows instead of just the offset number if youd like...
if you cant read the code, cutting and pasting it in to vb will reset it to something you actually can follow.
|
|
|
|
|
Thanks for the help.;)
Beginner in ASP.Net and VB.Net
|
|
|
|
|
I created a dataset through access database. I just need the search, or find engine to locate the files faster, if the files are too long. I would do the same thing as you suggested. Mine is an address book, and I also have a password dialog. How would I also can make the password dialog, if i want to change my password code?
My addressbook consist of First Name, Last Name, Address, City, State, Zip Code, Email. I would like to have a search button with code. Then I use a select statement for every field, then when the dataset populates, I can use the search and input box to enter the name of the person I am looking for?
Or do I have to enter in a case select every persons name within a dataset?
bravo659
|
|
|
|