Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: crackersixx

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,205

    Re: Live parsing of C# code.

    You can do this, but you will run into problems when the "external" compiled method needs to access data from your parent application.

    You can tell the compiler to generate a dll in memory that...
  2. Replies
    1
    Views
    889

    Re: Printing from winforms..

    Here's a printing snippet I use in some of my code:

    In some Print button, do the following:


    //Setup and print the document
    PrintDocument document = new PrintDocument();
    PageSettings...
  3. Replies
    6
    Views
    3,411

    Re: Using textwriter

    Edited to show a bit more:



    public static class Logger
    {
    //Log Filename
    private static string fileName = "output.txt";

    public static void Write(string inString)
  4. Replies
    10
    Views
    834

    Re: Storing a bmp in a 2005 sql database.

    To store images you can do something like:



    byte[] bytes = File.ReadAllBytes(fullPathToImage);

    // insert image into table
    SqlCommand insert = new SqlCommand("insert into sometable...
  5. Re: Simple: placing controls uniformly inside a panel

    Maybe using a TableLayoutPanel to contain your controls will work for you.
  6. Re: Execute a shell script on a linux server

    If you are running some service on the Linux box that you can access.

    Such as:
    a webserver with a page/webservice you can query that runs the script
    telnet - might be painful

    Or you could...
  7. Replies
    5
    Views
    1,088

    Re: Press a keyboard key

    Your first example will work on the KEY UP event.
    (provided you fix your IF statement to include two = signs)



    private void Form1_KeyUp(object sender, KeyEventArgs e)
    {
    if (e.KeyData...
  8. Replies
    14
    Views
    1,733

    Re: Creating Smtp Server

    My mail server at work allows this just fine as I use this ability to send email alerts from some of my applications, such as "appfailure@mydomain.com".

    my hosting provider for my domain (and...
  9. Replies
    6
    Views
    558

    Re: Selection List Control

    Since you dont have a specific question, you can start by reading about working with files in c#:

    http://msdn.microsoft.com/en-us/library/system.io.file.aspx

    and possibly the datagrid control:...
  10. Replies
    14
    Views
    1,733

    Re: Creating Smtp Server

    Most mail servers will let you do exactly what you just tried. Yours apparently doesnt.

    Unless you have another mail server to try, or the ability to install and host a new mail server, you are...
  11. Replies
    3
    Views
    523

    Re: c# components.

    In the "New Project" dialog, under "Visual C#" you should have an "Office" subsection.

    There you will find project templates for creating Office add-in's. (Excel, Word, etc.)
  12. Replies
    4
    Views
    627

    Re: Help with pink icons and transparency

    You could use a picturebox control.

    Load the image into the picturebox, setting the transparency.


    Bitmap bmpPicture = (Bitmap)Bitmap.FromFile("arrow.png");...
  13. Re: Best way to write DataSet to database table

    Regardless of your reasons, or whether or not you "should" be doing things as you are, there is a faster method for bulk importing of massive amounts of data.

    SqlBulkCopy Class in...
  14. Replies
    4
    Views
    589

    Re: Reading data from Excel table

    //Open excel file
    DataSet dsRecords = new DataSet();
    string strConn = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=ExcelDocument.xls;Extended Properties=Excel 8.0;";
    OleDbDataAdapter daExcel =...
  15. Replies
    2
    Views
    534

    Re: windows form to the web

    Running inside the browser? No...

    Launched via the browser, and requiring (or not) an Internet connection, sure:
    http://msdn.microsoft.com/en-us/library/t71a733d(VS.80).aspx
  16. Re: easiest way of using xml for simple storage

    If you are familiar with Datasets, an easy solution would be to use the built-in XML functions there.

    Examples here:
    http://www.codersource.net/csharp_dataset_better_use.html
  17. Replies
    4
    Views
    585

    Re: Background not repainting

    Creating a thread for your methods that run a long time is the proper way.
  18. Replies
    7
    Views
    713

    Re: .Net framework reliance question

    If you write in c# you are forcing them to install it. (if they need to run your app).

    You cannot guarantee the person has .Net framework, and at this point, a vast majority of people do not.
  19. Re: How to do Ftp from one server to another server directly

    The protocol for this functionality is called FXP.
    You can read about it here:
    http://en.wikipedia.org/wiki/File_eXchange_Protocol
  20. Re: Set WebBrowser.DocumentText doesn't do anything

    What the OP is doing with his code will work fine provided a couple things:

    * Don't set DocumentText in the constructor. Use Form_Load or your own method.

    If you set DocumentText in the...
  21. Replies
    4
    Views
    2,462

    Re: restart application

    There are reasons to reload an application.

    Especially for an application that checks for updates before it is run (such as a clickonce deployed app). If I have users logged in and using my...
  22. Replies
    3
    Views
    1,136

    Re: Using C++ code in a C# project.

    Create a DLL project in C++ that contains your method(s).

    Use DLLImport to call your methods from your C# code.

    Example here:
    http://www.codeguru.com/csharp/csharp/cs_data/article.php/c4217/
  23. Re: Strange Error loading image into PictureBox

    Just a suggestion, but maybe you can try using a webbrowser control rather than the picturebox. Then set the webbrowser.documenttext to something like:



    <img...
  24. Replies
    4
    Views
    3,999

    Re: Webbrowser scale and print content

    Are you generating the HTML that is shown in the browser control?

    The job of the browser control is to display your HTML. If your HTML is wrapped in tables with fixed width <table width="600">...
  25. Thread: Error

    by crackersixx
    Replies
    3
    Views
    434

    Re: Error

    Don't expect the user to fix the issue, when the user types an singlequotes into a field that goes into a databse, you need to replace the singlequote with two singlequotes.

    For example: a user...
Results 1 to 25 of 179
Page 1 of 8 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center