Search Results - VBForums

Search:

Type: Posts; User: Vladamir

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. 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...
  2. 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...
  3. [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...
  4. 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...
  5. 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...
  6. 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...
  7. [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...
  8. 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...
  9. 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...
  10. 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.
  11. [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...
  12. Replies
    4
    Views
    315

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

    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...
  14. 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...
  15. 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.
  16. [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

    ...
  17. 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 =...
  18. 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...
  19. [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.
    ...
  20. [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...
  21. Replies
    7
    Views
    284

    [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,...
  22. 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...
  23. Replies
    5
    Views
    230

    Re: While Loop Confusion

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

    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...
  25. Replies
    5
    Views
    230

    While Loop Confusion

    I am building some code to read a text file which will contain values for some variables which are subject to change. I'm reading these from a config file so that later when someone changes their...
  26. [RESOLVED] Connection to MySQL not ending when directed

    I have the following simple vb project which connects to a MySQL database, reads the records and then closes the connection. But when I examine the processlist on the Unix server running MySQL it...
  27. Re: Read & Update MySQL Using the Same Open Connection

    Okay, we got this one working. Another developer who specializes in php was assisting with this and he had mixed up some ideas using php vs VB.NET. That's what I get for listening to other...
  28. [RESOLVED] Read & Update MySQL Using the Same Open Connection

    We're trying to use the same connection to do two (2) operations in a MySQL project. We want to read in a record, process some values from it and then UPDATE the record based on the new values. But...
  29. Re: Assign Variables from MySQL Database Field

    Thanks again everyone. I'm thinking like you that it's time for me to sharpen my skills using Dictionaries. And as for numerics, this will all be strings, because we're simply looking to establish...
  30. Re: Assign Variables from MySQL Database Field

    Thanks again everyone. And no I did not test my code...because another developer wrote it and she said it will not work....gee thanks for that. Plus she likes to work with Form Applications thus...
  31. Replies
    3
    Views
    245

    Re: Excel does not stay inviisible

    Kevin,

    Thanks and I did test this on my computer, all went well. No Excel screen visible during the run.

    I should explain here that although this code has worked fine for almost 18 months,...
  32. Replies
    3
    Views
    245

    Excel does not stay inviisible

    Sorry to be such a pest today. We are transitioning over to a new machine.

    This new machine is Windows 7 with Excel 2013 and VS 2013 Express. All my code which has worked beautifully on the...
  33. Replies
    1
    Views
    211

    Problem with MySQL.Data File

    I have a project we switched over to run with MySQL. I added the reference for MySQL.Data.MySQLClient.dll and everything works fine in the IDE but once I try to run the standalone exe it complains...
  34. Assign Variables from MySQL Database Field

    I'm looking for a method to assign dynamic variables by using the column names from the MySQL database.



    dbread = dbcomm.ExecuteReader()
    While dbread.Read

    ...
  35. Replies
    5
    Views
    292

    ExecuteNonQuery()

    I'm hacking through a new project using a MySQL database. I'm actually using C# for this not VB but the syntax is similar. A portion of my code looks like this:

    cmd.ExecuteNonQuery()
    In the...
  36. Replies
    21
    Views
    1,479

    Re: Programming Language Alternative

    Thanks for all the replies. I think in the end we will use Apache on a SUSE Enterprise server. The other developers here will use php, Ajax, Java or whatever, but I think they will choose php. The...
  37. Replies
    21
    Views
    1,479

    Programming Language Alternative

    We have an IT director here who has, and with the best of intentions, decided we must get off all M$ oriented programming. What he wants is for all future development to take place with languages...
  38. Replies
    1
    Views
    326

    Shutting Down Excel

    I have a rather complicated project which uses Excel. In the past, other wonderfully helpful people on this forum have offered advice and tried to help out with this issue. In a nutshell, there are...
  39. Replies
    2
    Views
    238

    Array Out of Range

    I'm using an array to read in some text from a file. The number of elements is 15 (0 - 14). When all is said and done I need to append one last element onto this array, but I keep hitting a bounds...
  40. Replies
    1
    Views
    279

    Re: Excel Macro Not Found

    I found the work around for this was just to take the macro from within Excel and translate it to VB.NET code. The guy who wrote this thing was not exactly a programmer so it had many redundancies...
Results 1 to 40 of 482
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.