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

Search:

Type: Posts; User: fcronin

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: Database help

    by fcronin
    Replies
    4
    Views
    476

    Re: Database help

    You should be able to just not include an auto-number field in your insert ...

    If your table has fields ID, NAME, and AGE ... where ID was the auto-number field...

    INSERT INTO [TABLE] (NAME,...
  2. Replies
    1
    Views
    3,368

    Re: How to use ScrollBars with Listview

    Change your current code from what you have to this:



    private void Form1_Load(object sender, EventArgs e)
    {
    listView1.Scrollable = true;
    listView1.View = View.Details;

    for (int i=0;...
  3. Re: How do modify a large XML file to become smaller?

    This method should provide you with what you're looking for... you will need to tweak it to fit your exactl XML layout/needs... but the basic idea is here.



    XmlDocument sourceDoc =...
  4. Replies
    2
    Views
    908

    Re: Newbie question: How to run my .cs file?

    Are you using Visual Studio? Try F5 to start debugging...(start the application in debug mode).
  5. Re: Extract a portion of sorted dictionary into an array

    This seems to work... there may be a better/more efficient way, I just don't know of it...



    Dictionary<DateTime, string> SampleDict = new Dictionary<DateTime, string>();

    ...
  6. Replies
    3
    Views
    1,761

    Re: How to convert HTML to TIFF in C#

    Are you hosting the browser? If so... just capture your form image and save it as TIFF...



    Rectangle form = this.Bounds;
    using (Bitmap bitmap = new Bitmap(form.Width, form.Height))
    {
    ...
  7. Thread: SQL and XML

    by fcronin
    Replies
    1
    Views
    1,370

    Re: SQL and XML

    How are you currently creating the XML from your query results?

    There would be many ways to approach this, without knowing what you are currently doing, I'm not sure if I have any new thoughts for...
  8. Replies
    4
    Views
    798

    Re: C#. net 2010 textbox

    The feature you are talking about is "AutoComplete", and the TextBox control has AutoComplete properties in the Form control as well as the Web control... more so on the Form control though. I...
  9. Re: VS2010/.Net4 Need help setting up a structure

    I've never had the need to do this, so I don't have a wealth of knowlege to help you out, but I did run accross what seems to be an interesting page covering your topic.
    ...
  10. Replies
    12
    Views
    793

    Re: learning c# need help

    You don't need the two lines that initiate the strings.. remove those as I showed earlier.
    When you set string num1 = "0"; and string num2 = "0"; you are replacing your textboxes with strings, thus...
  11. Replies
    12
    Views
    793

    Re: learning c# need help

    Ok... I used two strings (num1 and num2) to represent your textbox values... YOU should use your actual textbox values instead of those two strings.



    int num1 = 0;
    int...
  12. Replies
    12
    Views
    793

    Re: learning c# need help

    When the user clicks your "Go" button, you will need to use the TextBox.Text to reference what they typed in each textbox...

    This would show what the user typed in the textbox called "num1".
    ...
  13. Replies
    4
    Views
    377

    Re: Open Website up on file save

    Do the applications save files using unique extensions?

    If they do, you could create a windows service using a file watcher to detect new files, then pass the extension and app name to your web...
  14. Replies
    2
    Views
    663

    Re: Im new, need a little help :O)

    Greetings,

    First, set your progress bar properties (min,max,step) on the control in design view, or set them during your form initialization (load)... no need to set them with each tick of the...
  15. Replies
    3
    Views
    897

    Re: C# Application with XML file

    Yeah... depending on how you deploy your application, your XML file is not being created for you in the folder your application is deployed to.

    Either create/copy the XML file to whatever folder...
  16. Replies
    2
    Views
    1,553

    Re: Underline & Bold Table Cell

    I'm thinking this should do what you want...



    TableCell tc = new TableCell();
    tc.Font.Bold = true;
    tc.Font.Underline = true;
  17. Replies
    1
    Views
    2,468

    Re: MaskedTextbox to accept only doubles

    Greetings...

    On you masked edit box, check the property "TextMaskFormat", play around with the other properties also... PromptChar, AllowPromptAsInput, etc...

    Best of luck!
  18. Re: .NET4.0 / VS 2010>Does Not Exsist In Current Context error

    That is a strange exception to receive regarding that particular object... I would expect something like 'using a variable like a method' in your case....

    To access an array item, use brackets [ ]...
  19. Replies
    1
    Views
    353

    Re: help with reg expression

    You could try...



    string result = workingString.Replace(workingString.Split(',')[1], String.Format("\"{0}\"", workingString.Split(',')[1]));


    ...or the more verbose...
  20. Replies
    1
    Views
    1,191

    Re: ListView grouping problem in Large Icon View

    Rather than adding items to the group, you should add items to the listview and set the item's group property appropriately.

    http://msdn.microsoft.com/en-us/library/ezh1batz%28VS.90%29.aspx
    ...
  21. Re: Need Advice - Opening a file once and reading data every time a method is called

    :) It happens...

    The next questions that would come to my mind would be...

    Can other application(s) access that file while my class has it 'open' (not sure what state...
  22. Re: Need Advice - Opening a file once and reading data every time a method is called

    Could you do this... ?



    [Guid("5B2DBDD4-B763-428a-B48F-2E148138E7A4")]
    [ClassInterface(ClassInterfaceType.None)]
    [ProgId("Analyst_UserIDA.UserIDAObject")]
    public unsafe class...
  23. Re: Need Advice - Opening a file once and reading data every time a method is called

    Is this method you have the ability to modify in your own project? I'm not sure I understand why you would have access to modify only a single method, unless this third party API merely executes a...
  24. Replies
    9
    Views
    596

    Re: novice c# question

    :) slow draw...
  25. Replies
    9
    Views
    596

    Re: novice c# question

    I believe the 9/5 result of your calculation is being used as an int... try



    dubCelsius = (dubFarenheit - 32) * ((double)9/5);
Results 1 to 25 of 221
Page 1 of 9 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center