Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

No e

@No e
About
Posts
175
Topics
74
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Quantifying performance of remote desktop options
    N No e

    Management wants people to use remote desktop applications to access testers (multi-million dollar units located in various factories throughout the world) for debug, people in the US can use the ones in Asia during not production hours, etc. to save costs (maximize tester use and minimize travel). Management reports that people have complained they do not want to because the remote desktop connection is slow. I have asked many many people who do this if there is an issue and they generally do not report any issues, but management insists there is. Management has therefore asked me to review the remote application software used (currently VNC and Microsoft Remote desktop) and quantify, with data, the performance of these or other options. My initial thought was to capture screen frame rates using something like Fraps, but Fraps does not seen to catch many non game applications, and installing games on the testers is probably not going to fly. so given the background, anyone have any thoughts as to how I might measure this in some way? Thanks no-e

    Hosting and Servers game-dev debugging performance help question

  • Missing Toolbar
    N No e

    I have a form that had a tool bar on it with a few buttons. I do not know what I did but now I can not see the toolbar at all. I can still select in the properties list and change settings on it, such as size, location, width and all that stuff but no matter what I do I still do not see the toolbar. This is visual studio 2012, I have a backup copy of the application (before I converted it to 2012) in visual studio 2008, when I open it I see the toolbar just fine. I compare every single property of this toolbar on the old and the new and they are the same. Any ideas what I can do to make it visible again? no-e

    Visual Basic csharp visual-studio question

  • Pass the Salt, please
    N No e

    You might try rinsing it with de-ionized water not regular water, it is regularly used for washing PCB boards.

    The Lounge algorithms help question

  • VS 2012 - Install Shield
    N No e

    So it appears that VS2012 does not use the same methodology to generate installations as VS2008. Fine, so be it, I will play along. After converting a project from VS2008 to VS2012, the solution explorer had my project and the install project I had created in VS 2008, the install marked as incompatible. I downloaded the InstallShield Limited edition, installed it. All is fine. I removed the old (incompatible) installation from my solution list (right click, remove from solution). When I did this my solution list appears to have disappeared and I only have my application left. According to the InstsallShield instructions I am to right click on my solution and add a new project, but I do not appear to have a solution any more, just my project. Any idea how to get it back? The solution group, so I can have both the app and the install in there like I used to. One thought was to create a new solution then add my project to it, but I do not see how to do that. Thanks in advance no-e Updated: Never mind, found it, there is a setting on the options page to show the solution.

    Visual Basic visual-studio tutorial question

  • Path/File access error
    N No e

    No environment variables, path is read from a configuration file, fairly straight forward. Not sure about additional code, it is very simple procedure, this one reads it and converts it from hex to binary and returns it in an array (of small blocks to be shoved down a serial port in the calling routing). I could have been more clear on appears, by appears, the file must be read because the system converts it and sends it to a bunch of hardware. The operator tells me they see this happening (the system shows the file being loaded in blocks), and the hardware subsequently goes off and does its thing with this new data, which works correctly. No-e

    Visual Basic security help question

  • Path/File access error
    N No e

    Thanks, but the file is in a short path off the root of the C: drive No-e

    Visual Basic security help question

  • Path/File access error
    N No e

    Have a VB6 legacy program that has been running for years and never saw this before. It opens a text file, reads the contents and closes the file, code is:

    f1 = FreeFile
    Open filename For Binary As #f1 'Open the file
    RawData = Input$(fileLen(filename), #f1) 'read it
    Close #f1 'Close it

    When a user logs on with a non administrator account and tries to run this they get a "Path/File access error". If they log in using an administrator account it works fine. Interestingly enough, it does appear to actually read the file, but the warning is bothersome (removing the warning is not an option) I tried every combination of security on the the file permissions, enabling/disabling Modify, Read and Execute, Read, Write and so-on, the best I can do is generate a "file not found" error, not an access error. Any ideas what else to look at? Thanks in advance no-e

    Visual Basic security help question

  • Creating or changing tables in an access database
    N No e

    Continuing to slug through a VB6 to VS2008 conversion. In VB6 I was able to modify Access databases and add tables using a bit of code similar to the following (simplified for explanation)

    MyTableDef = MyDb.CreateTableDef(tblName)
    ' record type
    For i = 1 To UBound(Fields)
    MyField = MyTableDef.CreateField(Fields(i), FieldType(i), Size(i))
    MyTableDef.Fields.Append(MyField)
    Next
    MyDb.TableDefs.Append(MyTableDef)
    MyDb.Close()
    Exit Sub
    </pre>

    Fields, FieldType and Size are arrays with a name, length and type of field to be created and appended.

    I would like to duplicate this type of functionality using AD0 in VS2008. I know I can do it with a direct SQL command, but those could get real long and ugly. With this method I just add fields to an array and send them to this function.

    Any suggestions?

    Thanks in advance

    Visual Basic database data-structures question

  • DLL Question
    N No e

    I am converting a vb6 project to .net, slowly but surely. If the VB6 project I had a DLL we wrote, I add a reference in the VB6 program and wala I could use it. I tried a similar thing in .net but I get a "Object reference not set to an instance of an object." when I try to call something in the dll. I am not sure how to properly do this in VS2008, do I need to do some additional initialization? How would I do it if I wanted to debug the code of the DLL when I am running the secondary project? in VB6 I could point a reference to the VB project for the DLL, not sure how to do that either. If it not a quick answer, can any one point me to a tutorial of some nature? Not quite what to google...

    Visual Basic tutorial question csharp debugging

  • trojans?
    N No e

    thanks all for your comments, that is about what I was thinking

    Visual Basic csharp agentic-ai help question

  • trojans?
    N No e

    I have been compiling applications for years in VB6 (i know, in process of converting to .net) but anyway.. I update the exe, zip it and email to to someone... been doing this for many many years. I compiled a couple in the last few days and tried to send them through outlook. (I zip them first). Outlook seems fit to strip the file from my message claiming it has a virus. my computer is . er uh, ahem.... managed by the company, which means regular scanning, constant virus updates every windows update ever created, all 1000+ of them and so-on, so I would really be surprised if I did indeed have a virus. Their solution was to run "superAntiSpyware" scan, which seems to pick out a few other of my applications (I have hundreds) as being infected by Trojan.agent/GenBancos. Many of the ones it seems to think are infected are over 10 years old, so I am thinking false positive on them. It does not pick up any on the applications I have tried sending the last couple days. Has anyone ever heard of or is it possible to compile a virus into an application unknowingly? (i.e. a virus lurking and attached itself to the file when I compile?) If so, given that my computer is scanned daily with virus definitions updated almost as regularly, how likely is this to be the issue? or am I getting jerked around by outlook and the glorious support staff?

    Visual Basic csharp agentic-ai help question

  • vb .net - Moving to a new computer
    N No e

    Dave, Thanks for the response, that appears to have put me in the right direction. I registered them, deleted interop.XXX files in question, added references to the proper dll files and it worked for two, it appears that it creates the interop.xxx files in the \obj\debug and \obj\release directories... at least for two of them. When I debug, it tells me it cant find the "interop.xxx3" file. If I look at references it lists the original DLL file for the one it can't find (the other two changed to indicate the interop.XXX and interop.xxx2 Can you give me a bit of guidance on how this is supposed to work? I could not find much in the way of background on the web. Is there a way to force it to create these files? no-e

    Visual Basic csharp visual-studio debugging question

  • vb .net - Moving to a new computer
    N No e

    I have been using VS2008 on XP for some time now, converting a project to VB.net. I have it largely converted and am debugging now (i.e. the project is running fine) I am trying to move it to Windows 7 (finally). I installed the exact same visual studio I am using on XP, and I copied the project directory from the old computer to the new computer. For some reason I loose a few references so on the reference page I add them back in, there were three of them, all custom references. The reference dialogue tells me it can not find the files specified, on the XP machine they are listed as being in \project\obj\release directory, so on the Windows 7 machine I point to them there (not sure if I should do that or point to the original) When I try to run or debug the project I get the following errors and it stops. A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in MBIG.exe A first chance exception of type 'System.TypeInitializationException' occurred in MBIG.exe A first chance exception of type 'System.TypeInitializationException' occurred in MBIG.exe A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in MBIG.exe The program '[2776] MBIG.vshost.exe: Managed' has exited with code 0 (0x0). Anyone have any suggestions as to what I should do to resolve or identify the problems? (not sure it the references impact this or not) no-e

    Visual Basic csharp visual-studio debugging question

  • Where Do I Put It?
    N No e

    Under your seat perhaps... If it is necessary...

    The Lounge question

  • Visual Basic .net - Form loading
    N No e

    I am in the process of converting a project from vb6 to vb.net. Code is now re-written and I can run it. The first thing I see is that when I select and option to load a form from my main screen, I see lots of animation which I assume to be me moving my controls around, before the form clears itself up and looks like I wanted it to. I have anywhere from 100 to 300 text boxes, labels buttons and so-on that I arrange based on the system configuration. This is all done dynamically in code as the form loads because they can be vertical, horizontal, different quantities and so-on based on what type of hardware it is connected to. I tried making the form not visible in the load event but no luck, any other suggestions? It was very clean in VB6 No-e

    Visual Basic csharp hardware question workspace

  • VB6 - far from dead!
    N No e

    Some companies, mine included have lots of legacy applications written in VB6, and have not allocated the resources to upgrade them. I am currently trying to peck away at one with well over a million lines of code. This is just not an important issue in most of managements opinion. I am about 90% there, but that last 10% is a bugger to convert. I am the only (part time) resource allocated to and supporting this particular conversion. This software is currently running on probably 1000 systems at this point, many of which, hardware wise may not support .net very well. (very old PC's)

    The Lounge c++ csharp php visual-studio

  • three monitors on laptop
    N No e

    I am not much of a hardware guy. I am not sure where to ask this Q, so if I am in the wrong area please be kind and re-direct. Work issues me a laptop, with docking station. Good, I can get two monitors (laptop which I have a hard time reading and a second which is much easier on my eyes). Can I get a USB or other connector if I want a second monitor to this setup? thereby having two monitors and the laptop display? My other option is to request a desktop, in which case any guidance on what to make sure I have to do this? (i.e. support three monitors) My no-e

    Hardware & Devices hardware question workspace

  • three monitors on laptop
    N No e

    I am not much of a hardware guy, not sure where to ask this Q, so if I am in the wrong area please be kind and re-direct. work issues me a laptop, with docking station. Good, I can get two monitors (laptop which I have a hard time reading and a second which is much easier on my eyes). Can I get a USB or other connector if I want a second monitor to this setup? thereby having two monitors and the laptop display? no-e

    Hardware & Devices hardware question workspace

  • Filling in rat holes
    N No e

    a little bleach or ammonia down the hole has worked for me in the past

    The Lounge question

  • A new occupation for the weapons aficionados out there?
    N No e

    while you wait I presume?

    The Lounge html question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups