GrandpaB's Q&A profile
Visual Basic Adding Controls Dynamically
Hello, I am going to try and explain this to the best of my ability. Within a form I am going to be using probably (open to suggestions) a TableLayoutPanel to split the header section and the diffrent controls. The unquie part about it is, whenever the header is clicked another whole header and the diffrent controls are added. So for example this is what it looks like when the form initially loads: -------------------------------------------------------------------------- Header - Header - Header - Header - Header - Header - Header -------------------------------------------------------------------------- 26 Controls within a panel -------------------------------------------------------------------------- After the form is loaded an ...Show All
Visual Basic Send output to stdout from gui app...possible?
I have a simple vb.net gui application (an alternative file requester in a form) that I would like to run from the command line. It executes fine, but I find that I cannot send any output (a string representing the file selected) to the command line upon completion. It appears that "console.writeline" doesn't actually write to the console Any suggestions as to how to send info back to the console window upon completion Keep in mind that this is a gui app (not straight console). No, it's not "Output type" it's Application Type. Running such an application brings up a command window and a form in classic styling. "Outputs" to say textbox1.text still go to textbox1.text. I think the ...Show All
Visual Basic Opening an EXE in VS
Hi, I have Visual Studio 2005 Pro, and I was wondering how I open a plain .EXE file in Visual Studio to look at the code The computers at the university I go to are able to do this, however, I am now using my laptop (I just installed VS .NET 2005) and it just opens shows the name of the file in the side window. Do I need to install an add-in or plug-in to make this work Thanks! Eric If I'm correct this is only going to work for executables generated using .NET products such as VB.NET or C# . ...Show All
Microsoft ISV Community Center Forums Loading Select data through the linked tables
I have an access front end whose tables are linked to an sql server data base. when the database loads is there a way to select certain data to load through the linked tables. For instance Say I wanted the liked tables to load only the data for the customers in the state of Connecticut. I know I can do this with queries but I want to know is it possible to do with linked tables directly. In access you only have the capability to link to the entire table...however as you suggest you can create a view that will only show you the criteria that you set for the query ...Show All
Architecture Architecture for a DAL
When I say DAL I mean a physical layer that manages connections. I had a though yesterday. Many people call methods on a class representing the DAL. And they receieve data back from it to populate thier business classes. I realize there are many different forms of this solution. ( I was a contactor and I saw good examples and nightmares, along with "what the ..." designs ) So I was thinking this. What instead of having classes I call I create delegates that represent all of the work a DAL would do and consumers only called these delegates. This would have many benefits by examining this. What I want to know is this. Is this an idea with merit or am I going down a path with a dead end I'd like some thoughts ...Show All
Visual Studio Team System Customizing team build number?
When Team Build launches, it automatically assigns a build number of the format: <BuildTypeName>_<YYYYmmdd>.<number> This is pretty heinous and means essentially nothing to our QA department who is used to build numbers like 5.30.010. Under other circumstances I wouldn't be so picky but I've just discovered that the bug tracking uses these numbers to populate its drop down list of build numbers. Is there any way to change this number I suspect from what I know about Team Build that the answer will be no. I have thought of a work around but I would really not go through the hassle (the work around being to change the name of the build type before every build by using a tf rename command, such that it would be som ...Show All
Visual Basic Win32 handle that was passed to icon is not valid or is the wrong type.
I was testing article http://support.microsoft.com/kb/319340/ to see if I could use this to populate a listview2 with the icons from Directory.GetFiles(apath) and getDirectories. If you go into c:\windows\system32 the program will hang for about 4 mins then if you go back to windows then back to system32 you will get the error. win32 handle that was passed to icon is not valid or is the wrong type. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.InvalidOperationException: BufferedGraphicsContext cannot be disposed of because a buffer operation is currently in progress. at Sy ...Show All
Software Development for Windows Vista Remote Desktop
How will Remote Desktop work with UI Automation. I have tested it with Beta 2 of WinFX and all I see are two panes - InputWindow and OutputWindow. Will there eventually be some providers for Remote Desktop Will WinFX need to be installed on the remote machine Are there any websites or forums that have discussed this topic Thanks for your time ...Show All
Microsoft ISV Community Center Forums Dynamicaly enter Data in Microsoft Access
I need to be able to enter data in a form feild dynamically in vba. I allready know the value that I want the feild to have. I just need an example of how to do it. I tried changing the default value in a form but thAT did not seem to work. Hi Try attaching your code to an event on the form such as the change event on one of the other fields that are keyed and are required ...Show All
SQL Server Linked Server in Management Studio
I have created Linked Servers for Access databases. SPs are able to select data from the Linked Servers. In Management Studio, the General Properties are greyed out and therefore can't be modified. I need to modify the Data Source to connect to different Access databases. Can't find a way to do this with a SP either. Searches seem to indicate I should be able to modify the properties using Management Studio. Management Studio does not display the list of tables, etc. in the Access database as Enterprise Manager did for a Linked Server. The data source is on a mapped drive. The definition: /****** Object: LinkedServer [ACCESS GENERAL] Script Date: 02/05/2007 11:56:43 ******/ EXEC master . dbo . sp_addlinkedserver @server = ...Show All
Visual Studio 2008 (Pre-release) Why include all columns in tombstone tables?
Why do the demos from the synchronizer blog add all columns to the tombstone tables Wouldn't it be enough to add the ID, creation date and update date columns Thank you. I'm currently working on a sync services presentation for a .NET user group meeting tomorrow, so I try to understand everything in the demo. ...Show All
SQL Server SQL Server Express: Configure concurrent multi-APPLICATION access?
Hi Everyone, I have a software solution that consists of two separate applications that share a SQL Server Express database on a single computer. Everything is working great, except when both of the applications want to access the database at the same time. All I can find is information on configuring multi-user access in a distributed system. I'd appreciate any information on configuring multi-application access on a single computer... Thanks, Mike A Lesson in User Instances Here is what I have learned after researching my situation. The following summary came from a great article at: http://msdn.microsoft.com/sql/express/default.aspx pull=/library/en-us/dnsse/html/sqlexpuserinst.asp I h ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dec06 fxc.exe broken
Where do I send DX SDK bug reports The Dec06 fxc.exe seems broken, passing the same command line that worked in Oct06 to Dec06 fxc fails to compile or even read the .fx file, it spews the command-line argument help as if you've made an argument-passing mistake (without telling you what it is!), but according to the help file all the arguments are valid! Also, the Dec06 added a bunch of new cmdline arguments with no real explanation in the documentation: /Gdp disable effect performance mode /Ges enable strict mode /Gec enable backwards compatibility mode /Gis force IEEE strictness /Gch compile as a child effect for fx_4_0 targets Can someone provide more details on these The new /LD ...Show All
.NET Development Multithread stepping
Hello, If I have a process with several threads, can mdbgeng or a tool using ICorXX API step code in different threads at the same time and independently I have tried StepOver in that case but the non-active threads of the process run when I step on the active thread. I'm interested on a independent debugger per thread solution. ICorDebug supports it. An ICorDebugStepper is per-thread, and doesn't intefer with steppign on other threads. Here's some stepping trivia you may find useful: http://blogs.msdn.com/jmstall/archive/2006/01/24/stepping-trivia.aspx The bottom level of managed wrappers in Mdbg (CorStepper, Cor*, etc) don't impose any additional policy. However, the MDbgEnginer layer does impose a lot policy ...Show All
Visual Studio Express Editions How to use MySQL VB.NET
How to create database connection in VB.NET to connect to a MySQL Server. Can anyone help me to establish a connection using system objects, or using a shared resource. First step is to have a provider...there are a couple of freebies(SevenObjects) out there on the net...second is to have the proper connection string for that provider: http://www.connectionstrings.com/ carrier=mysql ...Show All
