Search:

Type: Posts; User: Vladamir

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    783

    Re: Form1 Values in Other Modules

    Thanks. I gathered something like that must be happening because the IntelliSense was letting me type in the Form1.xxxxx stuf with no problem. And the values were resolving in the Boolean equations.
  2. Replies
    4
    Views
    783

    Form1 Values in Other Modules

    I'm a little confused on something. I have a Windows Form Application with some text boxes that get filled in by the users. In another module in this project I have some code like this:


    If...
  3. Re: VB Project Runs But Only In Debug

    Inferrd, thanks for the info. I wasn't aware of that at all and yes, I'm developing on a 64bit system. So I looked at the text file and sure enough I had a blank line at the end of it. I took that...
  4. Re: VB Project Runs But Only In Debug

    That was my first thought too. But the text in the file has not been changed and like I said this works perfect in debugger
  5. [RESOLVED] VB Project Runs But Only In Debug

    I've got a simple VB.NET project which has been running great for over a year now. The boss came to me and asked for some changes to it. The main one being that the project now looks for a text file...
  6. Value for Form1 Text Box Not Showing in Watch Window

    I have a VB.NET form with a text box. While I'm in the Form1 class I can place the name of this text box (txtDwgNo.Text) in a watch window and see the value of it. The code then calls another class...
  7. Re: Space in FileName Link in an Email Body

    Lucky me, I got some advice from one of the web developers here and this is what it took to get it going. This is just the one line of the above code which needed correction.

    "Click <a...
  8. Re: Space in FileName Link in an Email Body

    I have a little more progress on this. At least it looks like progress
    Mailmsg.Body = "<html><head><title></title></head><body>" & _
    Environment.UserName & " submitted a drawing...
  9. Re: Space in FileName Link in an Email Body

    techgnome, sorry again, this may be where my version of VS 2013 Express for Desktop comes up against the wall. I don't have System.Web.HttpUtility...anything. In fact I only have ASPHosting.......
  10. Re: Space in FileName Link in an Email Body

    Okay, that resolved one issue with it. The space thing is still kicking my tail. I'm using the code above with the only exception that I enclose the long string in the UrlEncode method and I keep the...
  11. Re: Space in FileName Link in an Email Body

    Thanks techgnome. I finally found the code snippet that I did about a year ago with this and you're right that I need to be using UrlEncode....BUT! I can open the previous project and run it, test...
  12. [RESOLVED] Space in FileName Link in an Email Body

    I need to create a link to a file on a server in an e-mail body. We did this before but this time there is a space in the path for the target file. I cannot ask the client to change this as they have...
  13. Replies
    6
    Views
    1,759

    Re: C# Private vs Public Methods

    Okay, now to nail this down... if I have both methods in a single class. But if I call the second one from the first one I can only access it if I call the second one "Public Static". Without the...
  14. Replies
    6
    Views
    1,759

    C# Private vs Public Methods

    Okay, I've been wanting to research this question for a while so today I did but I'm still confused. Perhaps it's because of some code examples I've been studying but haven't been able to get...
  15. Replies
    1
    Views
    922

    Converting VB Snippet to C#

    I'm having a difficult time getting this vb.net snippet converted over to C#. This is for checking for a running process of AutoCAD first before opening a new instance of it. If one is found then use...
  16. Re: How do I format a decimal variable to always show 2 decimal spaces?

    If you just want a two digit decimal value to appear on the screen somewhere then you could use:


    Console.WriteLine("The value is: " & val.ToString("F2")

    There are of course other ways to do...
  17. Re: [RESOLVED] C# Code running slower than molasses in January

    Now to move on to the next question I have on this. As you can see, I am breaking the Two-Dot rule all over the place. I did a quick review to see where I could get it to comply with the One-Dot only...
  18. Re: C# Code running slower than molasses in January

    Okay, I double and triple checked this thing. Using the native Excel Library reference from M$ this it takes about 10 minutes for it to write all 1,500 records to the Excel file and for some strange...
  19. [RESOLVED] C# Code running slower than molasses in January

    I have a fairly simple C# project which reads in records from a MySql database and then transfers them over to an Excel file so some people in managment can see the fancy bar charts created therein...
  20. Still Trying to Understand How To Reuse Objects

    I have a fairly simple project in C#.NET. The Program.cs looks like this:



    class Program
    {
    public static Select_Frame vsFrameSize = new Select_Frame();
    static void...
  21. Re: Is the IRS story about the harddrive crash plausible to you?

    Politically, I'm for the two-party system. One on Friday and one on Saturday.

    Now about those missing emails....there is no way the emails were lost. She either sent them or received them from...
  22. Re: Align Center of Label with Center of Textbox When Label Text Changes

    I stumbled on a way to fix this and it looks like it achieves the desired effect. First I set the Autosize property of the label to OFF, and manually set the width of the label to allow the largest...
  23. [RESOLVED] Align Center of Label with Center of Textbox When Label Text Changes

    I have two textboxes each with a label beneath them in which the text changes based on some other input by the user. I can align the labels and their respective textbox on their centers in the form...
  24. Re: C# Code to Shutdown Any Excel Process Running Longer Than 1 Minute

    saptor, yes, this is an automated process and if an Excel instance has been running longer than 1 minute then it's definitely in need of whacking. And yes, I too was a VB.NET man but they tied me...
  25. C# Code to Shutdown Any Excel Process Running Longer Than 1 Minute

    I need a method to add at the beginning of my project that will check and see if any Excel processes have been running longer than 1 minute and shut them down if it finds any. I have a method which...
  26. Re: C# Project Goes South When I Remove label1_Click code

    Okay, I found it. I was deleting the only method that was located in the Form1.cs class file. DOH! Shame on me.
  27. [RESOLVED] C# Project Goes South When I Remove label1_Click code

    I am building a C# Windows Form app project in Visual Studio 2013 Express. I have some labels and one or two of them I accidentally double clicked on. Thus is stuck some code for it in the...
  28. Replies
    4
    Views
    808

    Version Control

    I've been developing for this client for over two years now. And the success we've enjoyed with the apps are evident that they hired more devs and allowed me to train some others here in the company...
  29. Replies
    7
    Views
    3,548

    Re: Code Analysis (Warning)

    If you're using Visual Studio you can turn on word wrap in your settings and the code will wrap nicely to the width of your window automatically. Just go to Tools>Options>Text Editor and then either...
  30. Re: Strange Results from Excel SpreadSheet

    Thanks everyone for the replies. I finally tracked it down. Someone who shall remain nameless, but he's one of the department heads, decided to rename one of the macros in this particular...
  31. Re: Strange Results from Excel SpreadSheet

    It's a formula. But it resolves to a text field.

    Hey, Plano, TX. Very near my home town of Richardson, TX. I know the town well.
  32. [RESOLVED] Strange Results from Excel SpreadSheet

    I'm getting a very strange result when part of my VB.NET project reads from a particular cell in Excel.


    If Mid(vExcelSheet2.Range("B97").Value, 1, 13) <> "THIS HATCH IS" Then

    ...
  33. Re: Find the Alpha Characters on Left Side of String

    Okay, I've got this on the way now. The next step is to determine where in the alphabet the last alpha character in the string occurs.


    public static string vAlphabet =...
  34. Re: Find the Alpha Characters on Left Side of String

    Okay, I think I got it:



    static string GetAlphabeticalValue(string x)
    {
    return (new Regex("[A-Z]*").Match(x).Value);
    }

    This appears to work. The string will...
  35. [RESOLVED] Find the Alpha Characters on Left Side of String

    I need to come up with a method to get the alphabetical characters from a string. The strings will always have alpha characters on the left side but it will not always be the same number of them.
    ...
  36. [RESOLVED] Convert Existin VB.NET Form to a Web Form

    I have a beautiful form built in a VB.NET project. It has at least 200 lines of code which turn on and off various radio buttons and check boxes depending on the selections the user makes. For...
  37. Replies
    7
    Views
    867

    [RESOLVED] Comments in Continued Lines

    I often break long lines of code up using the "_" as a break and end up with something like this:


    SendtchData="id=" & GetUserName() & CLng(DateTime.Now.Subtract(New DateTime(1970, 1,...
  38. VS 2008 Re: How to write to ini.file or txt file where identifier.Help Help

    That's because you're not really needing to look for the end of the file when you're writing to it. Your method of using Peek <> -1 is doing just that. It searches until there is no more to search...
  39. Replies
    5
    Views
    783

    Re: While Loop Confusion

    Ah, yes....I think I see your logic very clearly. Thanks everyone.
  40. Replies
    5
    Views
    783

    Re: While Loop Confusion

    Thanks opus. That worked but I still had to add a blank line after the comment section in order for it to pickup reading variables where I want it to. One of the IT guys is telling me to make an...
Results 1 to 40 of 498
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width