Peter Bauwens's Q&A profile
Visual Studio Express Editions Where do i register vwd?
Tried help on vwd express edition and clicked link to register but hung and could not see the site address and i tried microsoft site for registering and lots of good info on registering but no button or link to click... Help Pauley As Ralph Gerbig mentions...please see thread at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=19141 . You really *do* need to register Visual Web Developer via the Help menu. You cannot do this online--or via the links in the Registration FAQ. (Those links are ONLY intended for re-generating an e-mail with your beneft access codes; you will not receive a product registra ...Show All
.NET Development SSIS Package scheduling
How I can schedule a SSIS package similar to DTS Package scheduler SSIS package is created and build. Where to go from here. Basha, Are you talking about scheduling this through SSIS and Sql Agent Thanks, Carl Perry Program Manager ADO.NET cperry@microsoft.com ...Show All
Microsoft ISV Community Center Forums Read data from excel through VB.NET
Hi friends, I need to read symbols(like ALPHA,BETA,MEU) from excel and show it in a data grid through VB.NET.Later insert it into Oracle 8i DB. I am able to read entire data but i am getting 'a' instead of ALPHA symbol and 'b' instead of BETA symbol. I am querying excel via OLEDB provider.The following snippet is using for accessing excel. Dim MyCommand As System.Data.OleDb.OleDbDataAdapter Dim MyConnection As System.Data.OleDb.OleDbConnection MyConnection = New System.Data.OleDb.OleDbConnection( _ "provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source=" & ExcelFilePath & "; " & _ "Extended Properties=Excel 8.0") ' Select t ...Show All
Visual C++ BUG; isalnum - asserts in debug build
If you try (using VS2005) isalnum('£') then you get an assert. The problem lies in '£' being cast to an int -93. This is then cast to an unsigned and checked to see if it is withing 0 to 255. As -93 cast to an unsigned will give a huge number, we then get an assert. Andy Cooper From MSDN: When used with a debug CRT library, isalnum will display a CRT assert if passed a parameter that isn't EOF or in the range of 0 through 0xFF. When used with a debug CRT library, isalnum will use the parameter as an index into an array, with undefined results if the parameter isn't EOF or in the ra ...Show All
Visual Basic Reading Registry Key
I am working on a VB.NET application that can take a computer name and connect to that computer over the server and check several of the local security policies and create a log of what policies are incorrectly set. In a nutshell, it is an automated way of going through a security checklist rather than manually looking at each policy at each computer. I am currently trying to read the "Audit Policies" such as "Audit Policy Change" etc. I found a registry key located in HKEY_LOCAL_MACHINE\Security\Policy\PolAdtEv named "(Default)" that is a hexadecimal value that represents the setting of each of the 9 audit polic ...Show All
Windows Forms Question about deploying a ClickOnce app manually
Hi,my friends. I have some questions about deploying a clickonce app manually. 1. How to specify a publisher name I consider it is specified in .pfx file. But the vs2005 seems not generate .pfx every time. 2. If I want to specify the app should check for updates after the app starts, and set check periods, how to implement it I do not find any tip in mage.exe's help. Thanks alot! In the Project->Properties->Signing Tab 1. Check Sign ClickOnce manifest. 2. Click on Create a Test Certificate. 3. Enter a password. The problem is that you cannot specify a name with this method. If you need a specific Publisher name such a "My Co ...Show All
Windows Forms Automating input to GUI screens in Custom Actions
I created a Deployment project in VS 2005 that has a custom action. The custom action creates a windows form that has a couple of text boxes in it. The user fills some values (e.g., a database connection string, username) in these text boxes (which already have some default values), clicks OK, and the installation continues. Now, I want to install this application from the command line (using msiexec) without any input from the user. Effectively, I want the installtion process to "click the OK button by itself" when my custom action pops up the form. How can I achieve this without creating my installer again Thanks, Adrigo ...Show All
Visual Basic I just want to learn Visual Basic.... Can't find "Windows Application' Template
Hello all, I am trying to re-learn programming after a long hiatus, so I decided to start with the newest version of Visual Basic(VisualBasic 2005). I am trying the 'Create Your First Application' Tutorial, and it tells me to go to File>New Project and choose 'Windows Application'. This isn't an available choice... My choices are: 'Class Library', 'My Movie Collection Starter Kit', 'Screen Saver Starter Kit', and 'Search Templates'. Am I supposed to download the 'Windopws Application' template from somewhere('Search Templates' turned up no results.) Is this my first test to see if I am worthy of using a Microsoft product Or am ...Show All
Visual C# Windows Look and feel
I'm developing a windows application and I want my interface to have that windows look and feel. I tried changing the background colors, but i did not get what I really wanted (You know the way Microsoft word 2003 looks [the bluish look and that glossy feel] or the way this forum looks like). I also want to change the background of the menu bar and the menu items to get the same windows look and feel. Lastly, I want to add icons to the menus and menu items. I need help or references to resources that can let me do that. Many thanks, Derry Thanks for your help. I've tried all the various options suggested and not seen w ...Show All
SQL Server How can I query the node in XML with XQuery?
1. I store the xml info below in the XML field Demographics in SQL 2005, I hope to query all the node info with XQuery. The result just like <Folder Name="Root" Id="a6dce8fe-749c-4e38-ab2f-3d03d9711b3d"> <Folder Name="Card" Id="b8dcf8fe-749c-4e38-ab2f-6d03d9711b8j"> </Folder> </Folder> but I can't get the correct result using select Demographics.query('/Folder') from store 2. Furthermore, How can I query the Name attribute of the Folder node by ID of Folder using XQuery, If so, I can get the Name (such as "Root") after I know the ID "a6dce8fe-749c-4e38-ab2f-3d03d9711b3d" 3. Can I get ...Show All
Visual C# How do I open a an MDIform from a nonMDI form?
I'm new to C#. How do I close my current form and open a new one This does not seem to work: Form mainForm = new MDIParent1 (); mainForm.Show(); this .Close(); Thank you! Where are you doing this You can't close your main form without closing the application. You can hide it, though. In this case, you have a bigger problem - mainForm is a local variable, and it's also being shown non modally. If you're going to call show, and not ShowDialog, you need a member variable, and you also need for the class that contains this member variable to not be closed. ...Show All
.NET Development .Net Framework 1.1 vs 2.0
Hello all, I have been spending a good deal of time trying to figure out the implications of the .Net Framework 2.0. Unfortunately, most of the resources I have found do a great job of talking around the subject, without really talking about it. One of the most common statements made is that 1.1 was a Rapid Application Development (RAD) environment while 2.0 is more of a platform. What does this actually mean to the programmer Is it just a fancy way of promoting WinFX (which has strong ties to the .Net Framework platform) From what I can tell, the .Net Framework 2.0 is a replacement for 1.1, ho ...Show All
Windows Forms DataGridView Columns Reflecting User's Checkbox Choices
Hi everyone, First off, I am able to reflect the user's dropdown box selections. These selections act as the "where" clause in the select statement. However, the problem I'm currently facing is having the DataGridView columns reflect the user's choices with checkboxes (which are not on the DataGridView). In other words, I would like the user to determine whether or not a field is shown in the DataGridView. This means that if the user checks the Account checkbox, for example, then the select statement should show up as select Account from datasource where ... group by Account Further, in the ...Show All
Software Development for Windows Vista Dual Display Suggestion
Hi, I use dual monitors for work every day, and the most annoying thing you can imagine is when I am several programs open and it seems like every time I open another window, it opens one the opposite screen that I want it to. Perhaps microsoft could come up with a way to right click a shortcut and press "open on screen 1, 2, etc." or maybe when you double click a program and move the curser to the screen you want it will automatically open on that screen. I know this isn't really a suggestion forum, but I am hoping microsoft reads some of these and takes them in to account for developing new software. Thanks. ...Show All
Visual Studio Open From Source Control problem
When I do this with the MSSCCI provider I am developing I get this error ... "The source control bindings for this project do not match the bindings reported by your source control provider. This solution, or part of it, may have been forked or branched. To update the projects source control bindings use the Change Source Control on the Source Control menu." If I click OK, and let VS reload, everything is fine. But I can't figure out where this is coming from. I've even diffed all the files before and after this warning. The only difference is the .suo, which isn't under source control. What is the mech ...Show All
