Search:

Type: Posts; User: MetalKid

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    24
    Views
    4,877

    Re: Our of memory issue

    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...
  2. VS 2005 Re: Getting the length/size of the page (in KB)

    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...
  3. VS 2005 [RESOLVED] Getting the length/size of the page (in KB)

    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...
  4. Replies
    42
    Views
    2,246

    Re: [2.0] Certification?

    You can get good practice exams from MeasureUp.com. I believe they are partners with Microsoft. But they cost a pretty penny...
  5. Re: Recommended Book for 70-536 exam

    I read MCTS Self-Paced Training Kit (Exam 70-536): Microsoft&#174; .NET Framework 2.0 Foundation. It will get you 60-70% of the way there. Unfortuneately, the remaining is more obscure things that the...
  6. Re: [2005] Serialize any class to Xml and vice-versa

    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...
  7. Re: [2005] Serialize any class to Xml and vice-versa

    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]...
  8. Re: [2.0] Passing Data from the Page to XML and then SQL.

    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...
  9. Replies
    4
    Views
    939

    Re: DataGridView question

    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...
  10. Replies
    4
    Views
    939

    [RESOLVED] DataGridView question

    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...
  11. Replies
    3
    Views
    519

    Re: Security Exception

    I don't think you can do this by code... It has to be configured on your machine.
  12. Replies
    3
    Views
    519

    Re: Security Exception

    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...
  13. Replies
    1
    Views
    414

    Re: SQL Server alias question

    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.
  14. Replies
    1
    Views
    4,688

    Re: understanding DefaultSettingValueAttribute

    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...
  15. Thread: XML bridge

    by MetalKid
    Replies
    3
    Views
    728

    Re: XML bridge

    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,...
  16. Thread: XML bridge

    by MetalKid
    Replies
    3
    Views
    728

    Re: XML bridge

    I would create a webservice. Then you could send in and get back whatever information you need.
  17. Replies
    5
    Views
    757

    Re: With Statement in C#?

    Unfortuneatly (or fortuneately if you are a die-hard C# guy), C# does not have an equivalent "With" clause. Only VB has it.
  18. Replies
    3
    Views
    613

    Re: Validate input

    Try this code, assuming you have .NET 2.0+:



    private void btnForLoop_Click(object sender, EventArgs e)
    {
    // Check first variable
    int loopStart;
    ...
  19. Re: [3.0/LINQ] Linq concat to display blank item in combobox

    Would setting the dropdown's index to -1 be a viable solution, instead?
  20. Re: [1.0/1.1] How to extract specific information from XML [C# 2003]

    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...
  21. Replies
    4
    Views
    1,095

    Re: [2005] DirectX Fast Game Loop Problem

    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
    ...
  22. Re: Vb.net ArgumentException and Sql Server 2005

    Well, I guess I meant the CommandText off that object.
  23. Re: Vb.net ArgumentException and Sql Server 2005

    What does this line of code return?


    builder.GetUpdateCommand()
  24. Replies
    7
    Views
    722

    Re: [RESOLVED] SQL question

    But Truncate will not always work if certain restrictions are in place.
  25. Replies
    7
    Views
    722

    Re: SQL question

    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...
  26. Re: Vb.net ArgumentException and Sql Server 2005

    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? ...
  27. Replies
    6
    Views
    825

    Re: [2.0] zlib inflate?

    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...
  28. Re: [2.0] Advanced Generics Problem

    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...
  29. [RESOLVED] [2.0] Advanced Generics Problem

    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...
  30. Replies
    5
    Views
    15,306

    Re: [RESOLVED] VBS New Line

    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...
  31. Re: [2005] Regular Expresion to only pull Capital letters

    Oh, rx.Matches! I figuerd that calling Match would return everything. Thanks, that worked great!
  32. Replies
    5
    Views
    15,306

    Re: VBS New Line

    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...
  33. [2005] Regular Expresion to only pull Capital letters

    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!
  34. Replies
    5
    Views
    15,306

    [RESOLVED] VBS New Line

    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."
  35. Replies
    3
    Views
    949

    Re: [3.0/LINQ] MultiLanguage Support

    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...
  36. Re: DataGridView Cell enter to edit cursor behavior

    Ctype(dataGridView1.CurrentCell, DataGridTextBoxColumn).TextBox.SelectionLength() = 0
    Ctype(dataGridView1.CurrentCell, DataGridTextBoxColumn).TextBox.SelectionStart() = 0
  37. Replies
    8
    Views
    918

    Re: [2005] Search in DataGridView

    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 =...
  38. Replies
    3
    Views
    815

    Re: vb.net and map tiles

    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.
  39. Re: [2005] How to solve Insufficient memory to continue the execution of the program.

    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...
  40. Re: [RESOLVED] [2008] update SQL table, urgent

    Oh yeah...

    conn.Open()
    cmd.ExecuteNonQuery()
    cmd.Close()

    My bad! :)
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width