cybrex's Q&A profile
Visual C# Finding Object types and Properties at runtime
I've declared a class Shape with 4 Properties all of type String and named them FirstSide, SecondSide, ThirdSide, and FourthSide. I also have a static helper class with a method: Public static void Populate(Object inputObject) This method can take different classes as arguments at runtime and then set each of the Properties of the underlying class. So I pass: Shape myShape = New Shape; Helper.Populate(myShape); Within the Helpe ...Show All
Visual Basic Any examples of Microsofts new compression routine using VBExpress?
Does anyone have a VB Express example of Microsoft’s new compression routine system.io.compression library I found this Artical (not in VB): http://www.eggheadcafe.com/articles/20041128.asp Looking for an example that can compress/decompress 2 or more files. Most of the information I find on it is relating to its use in Web Servers to compress http data. Granted, it is part of the new .NET Frameworks 2.0. I'm looking for a VB imp ...Show All
SQL Server Sql server express 2005
I've never used sql server before, I downloaded the express from MS. After installing it, on my XP Pro, I get 2 log in choices. One is my normal log in and the next is "sqlExecutiveCmdExec". I'm assumng that how to log into the Sql server. It askes for a password and I have no idea what it could be. Can anyone help me... By the way, I don't use a password on my xp machine, so I was assuming I didn't need one for Sql login. thanks ...Show All
Visual Studio VS 2005 Debugger problem
I am having aproblem with a newly installed VS2005 using Winforms and C#. Whenever I set a break point the debugger stops in the correnct function however I hoe a I have VS2005 installed ( 8.0.50727.42 ) In the variables window one of them have a white ! on a red circle icon with text saying something like that the 'the value is stale dues to a problem evaluating it' before the debugger exits. It happens ...Show All
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
Visual Basic How to tell when a user logs on to windows?
I am using VS 2003 to write a service in VB, this service will run in the background and has to run on a user account rather than the local system so cannot do any GUI stuff (as far as I know). I have written a second app in c# to handle the GUI side of things and I want to run it when the user logs in to windows. Does anyone know how I can tell when a user logs on - is there a registry key I can check every few seconds or is t ...Show All
Visual Studio Tools for Office Does the VSTO package come or not with C++ ?
Does the VSTO package come or not with C++ * In the compare page it shows that there is only VB.NET and C# in the package. *In the VSTO product description page, there are many samples showing c++ in the project wizard. Could someone help me on that Thank you, Fabio Hello Fabio, VSTO only supports VB.NET and C# as the supported programming languages. VSTO project types exist in the higher end V ...Show All
Visual Studio 2008 (Pre-release) Delete entire object graph
Hi, I've hit a snag on my smaple mailer. I have agents and messages. A message has many reviewers who are agents. I've mapped this in the DB (primitive i know - it's a test): CREATE TABLE [dbo].[MessageAgentReview]( [MessageAgentReviewID] [int] NOT NULL, [MessageID] [int] NULL, [AgentID] [int] NULL, CONSTRAINT [PK_MessageAgentReview] PRIMARY KEY CLUSTERED ([MessageAgentReviewID] ASC) WITH (IGNORE_DUP_KEY = OFF) ) GO ALTER TABLE [dbo].[Me ...Show All
SQL Server Configure TCP/IP port during unattended instance installation
Due to security reason, I need to restrict the port number that SQL Express instances listen on. I know I can do it through the SQL Server Configuration Manger, but I like to do it programmatically. If there a way to specify the port number in conjunction with the “SECURITYMODE=SQL” name-value pair during the instance installation with the “setup.exe” Thanks, Peter Yea I got the same probl ...Show All
.NET Development What is the best solution?
Hi, i will developing a new solution using .net framework. The solution have a lot of functionalities to implement, and the actual version (asp pages) most of all are implemented in VB components. I want to know what is the best solution: Implement aspx pages using also VB components or using only aspx pages and define all the functionalities with web development. Sorry my english... Please, any suggestions Best Regards, Cristovao Thx fo ...Show All
Windows Forms Losing data when adding first child row
I have a account/product relation setup. Everything seems to work correctly. The only problem I am running into is when I add a product to an account the doesn't already have products. After the product is added and the save button  ...Show All
Visual Studio Undoing checkout
Hi everybody, I'm trying to implement a continuous integration process here, and I'm using the following article as a baseline: http://dougrohm.com/cs/articles/56.aspx There's one thing there that's giving me problems, though. In one of the steps on the process described on the article, a "version.txt" file gets checked out, modified, and then checked in when the process is done. If there's a problem and the build process fails, ...Show All
Microsoft ISV Community Center Forums design web browser.
where should i start from to design my own web browser. thanks In Visual Studio 2003, there is a browser object that you could add to the tools. I don't know how much this has been added upon in the new release. You might want to try and see if VS 2005 would be a better choice for development of your web browser rather than VBA. ...Show All
Microsoft ISV Community Center Forums Extract code from .dot
For some reason, (really not sure why, but it happens every now and then on my company's PC) my normal.dot file containing a few years' worth of customisations and home-grown macros was reset to the default a few days ago. My backup normal.dot has the toolbar customisations and lists the macros in the Tools>Macro>Macros window, but they do not run. ("Could not load Macro storage" error.) I can see snippets of the macros when I lo ...Show All
.NET Development IIS And Impersonation - accessing file shares?
hi all, i have two servers, one web server (called WS01) and a file server (FS01). I have a new drive on FS01 and i want to store my uploads to it. The problem is that the two servers are separated, they are located in the same place, and can see each other via private ip addresses but are not on a windows network together, so they dont share user accounts. I was testing the sites on our servers and discovered that i can't get into the ...Show All
