Wayne.C's Q&A profile
Windows Forms Nested Forms, better button graphic, layout???
I am trying to design an application where I can register students, then register courses for registered students. I am having hard time figuring out a way, on how can I load one form inside the other at a certain position. Then, Is there any ways to get better button graphics and form graphics. Also, what would be a good layout for me to use, where I have a collection of buttons and each of them opens a different form inside a form. Since I will try to implement invoicing, stock, scheduling. Any help would be appreciated... I am using Ms Visual Basic .Net 2003 Pro I am using Thomson Course Technology Visual Basic .Net 2003 second edition by Diane Zak. do you have any ideas on custom control. allso I h ...Show All
Windows Live Developer Forums VEPushpin.OnMouseOverCallback 'x' Value Inconsistency
I'm working with the VEPushpin.OnMouseOverCallback function and I've run into an issue where the 'x' value provided to this callback is not consistent. The code pasted below illustrates this situation. Specifically notice the style on the div 'myMap' that includes "left:100px;". In this code the callback displays an alert that shows the value of x, y, title and details. The inconsistency is that after this page loads (in IE or Firefox) the first time you hover over the pushpin (on Minneapolis, MN) the x value includes the 100px offset. The second, third, ... time I hover over the pushpin the x value DOES NOT include the 100px offset. This code is a simplified version of what is happening in my app. I was hoping to use the x a ...Show All
.NET Development Insert passwords to sqlserver
How can I insert passwords as '*' into SqlServer Thank you hello again I want to ask if i can add system.web Reference to my windows applications and use this Dim x As String = "bilalshouman" Dim y As String = "" y = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(x, "md5") It worked, but is right to do so Thank you ...Show All
Windows Forms Grouping Menu Items on Drop Down Menu
I am currently constructing the main menu for an application. The main menu strip has three drop-down menus, Files, View, and Tools. In the View drop down I want to group four options which are mutually exclusive but have them operate in the same fashion as if these items were four radio buttons in a group. Can this be done through the designer and, if so, how If not, does this mean I am going to have to implement this functionality outside of the menu strip by writing a listener to handle the changes and refresh the menu to reflect the changes Thank you in advance for your time and efforts. There's nothing built-in that supports radio-button like menu items for all items in a sub-menu. You could simulate it with checked m ...Show All
SQL Server Sql Express SP2 and Visual Studio 2005
Will the SQL Express SP2 update the Installer package that comes with Visual Studio 2005 so that SQL Express SP2 is included with a ClickOnce or MSI based installer Including SP2 on Windows Update is a step in the right direction, but I (and I assume others) really hate the idea of burdening our users with the additional step of obtaining the SP2 update immediately after installing our application. This is especially cumbersome if they are using dial-up Internet connections which, unfortunately, many of our customers continue to use. Thanks, Travis Or just a discussion of the issues would be a big help. I have an email folder full of customers who are waiting to buy just as soon as I have a solution ...Show All
Visual Basic URGENT! hw can I save/retrieve document files from desktop via vb.net into sql database
Hi, Anyone knows how to get a document file from the desktop or any plug-in devices(example: ext. harddisk) via a vb.net application and save the document file to a sql database. Then after, another person on another computer can retrieve the document file from sql database via vb.net application and save it on his/her desktop. Notice: The other person doesnt have the document file on his desktop. The document file must be retrieve from the sql as a whole document. example: a Word Document. Please help me with this. Regards, Melvin Hi, i'm currently trying to do something similar. The following links should explain to you at least how to write the file to the db (It worked for me): http://support.microsoft.com/defa ...Show All
Windows Forms Adjusting horizontal scrollbar in TreeView
Hi, I am trying to implement a TreeView with OwnerDrawText nodes where I add extra data (text, images etc) after the end of the node text. I have no problem getting the elements to draw, but I can't work out how to adjust the horizontal scrollbar so the user can scroll beyond the standard node text. I'm a relative Windows Forms newcomer and using .net 2.0 The treeview control appears to use the scrollbar based on the node text and is missing a "MeasureNode" event. You could cheat by making the node text string wide enough to allow your entire owner drawn node to be visible. You'd need to then use the Tag property to hold the actual text you'd want to draw. ...Show All
Software Development for Windows Vista Implement ActivityCondition
Hi, I try to create a custom activitycondition but need help on the Evalute method At run time, how do i get the workflow instance or workflowinstanceid based on the passing activity parameter Thanks It would in generally be considered a bad design to do so - but you can walk the list of Activity.Parent properties until you find one that is null. What are you trying to accomplish with this ActivityCondition ...Show All
SQL Server PAD function in Data Tranformation Editor
I have a value with a float datatype in Excel that is actually a date. For example, the value displays 1272006 for January 27, 2006. I am trying to convert this value to a date. I can do this in several stages using T-SQL by converting the datatype to integer, using replicate to make it eight characters and than using substrings to make it look like 01-27-2006 which SQL Server will recognize as a date. My problem is that there is nothing similar to a PAD (replicate) function using the Data Tranformation Editor in Integration Services. There is a replicate function but it merely functions to repeat a value. It doesn't appear to perform the same PAD function as the T-SQL replicate does. Here is my formula in T-SQL that works okay. rig ...Show All
Visual Studio Sandcastle August CTP - no indexes for .HXS file?
Hello All, I have been just trying out the Sandcastle August CTP. For some reason the compiled .HXS files does not appear to have any indexes. If I view the .HXS file using the H2Viewer - available at http://www.helpware.net/mshelp2/h2viewer.htm there appear to be no indexes. Even if I integrate the help into Visual Studio 2005 there are no indexes for my assembly. Has anyone checked that they are getting indexes when they are generating the .HXS files using the August CTP. I was getting them when I was using the July CTP. Mike Hello All, I have just looked at a .HXS file I produced with the July CTP using the H2Viewer and it has both DefaultKeywordindex and DefaultAssociativeIndex indexes pre ...Show All
Internet Explorer Development IE7 icon Problem
Firstly, let's clear up the icon definitions. Favicons are those that are downloaded from the linked website and show the websites logo or whatever. The icons that we are all concerned with here in this fourm that are in error are the windows icons. These icons along with an array of others are usually contained in system dll files. Indexes into these files are kept track of in the registry and in the shortcut or favorite itself under properties. For example if the dll has 256 icons and windows calls the dll as shell.dll, 255 the 255 is the index into the icon file. In this case the last one (base 0). The problem here is with IE7. The registry entries under HKEY_CLASSES_ROOT (url and internetshortcut) appear correct. I ...Show All
Visual Studio 2008 (Pre-release) Wcf Com Moniker in ASP under IIS 6.0
Weird thing in the world... The following file, SiteTracking.vbs, works GREAT... ----SiteTracking.vbs----------------------------------------------------------- Set siteTrackingService = GetObject("service:address=http://10.72.128.140/services/siteGoalTracking/siteAnalyticsGoalTrackingService.svc, binding=basicHttpBinding, contract={74C37E30-0B82-3073-993A-D86025732122}") WScript.Echo siteTrackingService.CreateTrackingInformation("SO-415902") Set siteTrackingService = nothing -------------------------------------------------------------------------------- While the following file, SiteTrackingServiceExample.asp, in ASP under IIS 6.0 on the SAME machine gives the error seen below. ----SiteTrackingServiceExample.asp-- ...Show All
Windows Live Developer Forums show/ hide points of interest
How do i control the hide/show of points of interest ie. train tracks, schools, parks, water, land use on the map I dont see any reference to this in SDK. thanks steph If your talking about what is on the map tiles (no search code by you) you can't. There is four sets of map tiles: road, aerial, hybrid, birdseye. What makes VE so fast is it is simply a huge set of images, if you need something more dynamic then Map Point is the solution. That said you can produce you own layers ontop of VE with great effect. Now if your talking about you search results then you need to write your own code to handle this. local.live.com gives one idea on how to do this. John. ...Show All
Visual Studio How to get a subreport value from Main report?
Hi All, How to get a subreport value from Main report . Please help me out . I have a subreport value called "department" . I have to display the values in Main report. Please help me out to do this in a report itself. Thanks in advance.. ...Show All
Visual Studio Team System why does it create wrong tmp files?
Hi Why does tfsbuild creates tmp files of some C projects When using tfsbuild it creates a new project file abc.tmp_release_win32.vcproj for my porject called abc.vcproj And it uses that file for compile, but it creates some wrong paths for my lib files. so it fails when I try to build. I can build the abc.vcproj using cmdline and msbuild. But how do I prevent tfsbuild from creating a tmp file or at least make the paths correct inside the tmp file Regards Kim Hi Thanks, then I stop being frustrated... The problem is in Task "CreateTemporaryVCProject" where it creates the temporary project. Even if I directly in my project specifies a AdditionalLibraryDirectories it ...Show All
