Search:
Type: Posts; User: MetalKid
Search:
Search took 0.06 seconds.
-
I'm pretty late to this, but I have a real solution and can explain why!
It turns out that LocalReport here is using .NET Remoting to dynamically create a sub appdomain and run the report in order...
-
Nevermind. I found a solution in javascript that works well enough when added to the <body onload=""> event. It doesn't include the size of the images, but that is okay with me.
// Displays...
-
I want to display the size of the page (in KB) to the user on the actual page. However, I am finding it difficult in getting this information. I was able to get the size by creating my own Filter...
-
You can get good practice exams from MeasureUp.com. I believe they are partners with Microsoft. But they cost a pretty penny...
-
I read MCTS Self-Paced Training Kit (Exam 70-536): Microsoft® .NET Framework 2.0 Foundation. It will get you 60-70% of the way there. Unfortuneately, the remaining is more obscure things that the...
-
Yeah, just posting code. The only issue with the code is that some Types cannot be serailized to XML. I think it is because they do not support ISerializable, but I could be wrong. At any rate, if...
-
It will automatically serialize all properties/objects recursively underneath it (there may be a max depth, but I don't know what it is), assuming the property isn't marked with an [XmlIgnore]...
-
He shouldn't be sending Xml to SQL if he doesn't have to. SQL Server handles Xml data types a lot more slowly and should be avoided.
I think he did it this way so that all objects could be saved...
-
Techno: Those events are not exposed on a DataGridViewComboBox control, unfortuneatly. Otherwise, it would be pretty easy.
jmcilhinney: I took your approach but found some documentation about a...
-
I was wondering if the following was possible:
I have a DataGridView that is using a BindingSource. I have 2 dropdowns in the grid that I need to fill in items for. The first dropdown always has...
-
I don't think you can do this by code... It has to be configured on your machine.
-
You have to change LocalIntranet to Full Trust code, or make the DLL on the LocalIntranet be Full Trust. You can do that from the .NET 2.0 Configuration Tool under the Administrative section in the...
-
I think a client can configure their own alias and point it to a specific server. Though, I don't know if a client cant create their own alias that points to a server alias somewhere else.
-
This means that it will try to read in a value with the "NorthwindConnectionString" attribute (or element) from the app.config. I am guessing this is under some custom section. If it does not...
-
If that other server has IIS on it, you can have it host a webservice. Your caller application can then reference that webservice and send whatever data you need to send in code very easily (tho,...
-
I would create a webservice. Then you could send in and get back whatever information you need.
-
Unfortuneatly (or fortuneately if you are a die-hard C# guy), C# does not have an equivalent "With" clause. Only VB has it.
-
Try this code, assuming you have .NET 2.0+:
private void btnForLoop_Click(object sender, EventArgs e)
{
// Check first variable
int loopStart;
...
-
Would setting the dropdown's index to -1 be a viable solution, instead?
-
I don't know about anyone else, but I would make some classes that map to this XML file and then use Deserialization to take that XML and create a bunch of objects for you. Then you can loop thru...
-
I would think this is something that isn't good:
Protected Sub OnApplicationIdle(ByVal sender As Object, ByVal e As EventArgs)
Do While _AppIsIdle()
Me.Render()
Loop
...
-
Well, I guess I meant the CommandText off that object.
-
What does this line of code return?
builder.GetUpdateCommand()
-
But Truncate will not always work if certain restrictions are in place.
-
Though, using the Exec statement will force it to evaluation the SQL every time, so it is like you are running inline SQL every time. THe only thing this will gain you is not having to send the...
-
How are you sending in the SQL? Is it a stored procedure? If so, is the parameter defined as a Decimal (2,1)? Are you using parameters? If so, did you define the scale and precision correctly? ...
-
Well, I hope you know that .NET 2.0 and above have built in compression/decompression. The two are:
System.IO.Compression.DeflateStream
System.IO.Compression.GZipStream
GZip adds headers to...
-
This is the answer I got from the MSDN boards, in case anyone is interested:
Ahmed Salako - Posted 9 hours 3 minutes ago
In C#, generics variance is not supported, that is c# is strictier...
-
I'm trying to implement a MVP design where the FormBase has a generic version of the Presenter built in so that the FormBase can call general methods on the presenter that will always be called by...
-
If you read my original post, I said I know about Chr(13) & Chr(10), which is the same thing as vbCrLf. I then said Like MsgBox "Here is line one.\nHere is line two." I figured that was enough...
-
Oh, rx.Matches! I figuerd that calling Match would return everything. Thanks, that worked great!
-
That didn't answer my question... The VB Script I have is calling a Webservice that returns a string. It needs to have the new line character embedded in the string. I was wondering if there were...
-
Does anyone know how to setup a regular express that only pulls the capital letters from a string? For example:'
VisualBasic
would return
VB
Does anyone know? Thanks!
-
I know you can do Chr(13) & Chr(10), but is there a way to represent these characters in the actual string? Like MsgBox "Here is line one.\nHere is line two."
-
If you want it to be dynamic, you could use a database to store your data and pull it back based on LCID and a URN. Tho, if you are pulling data from the database already, you would have to...
-
Ctype(dataGridView1.CurrentCell, DataGridTextBoxColumn).TextBox.SelectionLength() = 0
Ctype(dataGridView1.CurrentCell, DataGridTextBoxColumn).TextBox.SelectionStart() = 0
-
You would have to loop throw all the datagridview's rows, finding the column text that startswith the text the user entered. If it is found, you would set the grdDataGrid.CurrentRow =...
-
You have to put items beyond its X, Y range. If it is 500x500, you would have to put something at like 550x550 to get both scrollbars to appear in the panel.
-
Right click on this line:
List1.Items.Clear()
A menu should pop up and have a BreakPoint menu. Click on Insert BreakPoint. Then Run the program normally (in debug mode). It should hit that...
-
Oh yeah...
conn.Open()
cmd.ExecuteNonQuery()
cmd.Close()
My bad! :)
|
Click Here to Expand Forum to Full Width
|