mb974's Q&A profile
Windows Forms Application Running in a Partially Trusted Context
My aim is to learn how to allow client workstations to seamlessly reach a Windows Form data access application via an http:// invocation. I can do this when my box acts as both the web and database server. However, when the database  ...Show All
Visual Studio Express Editions Win32 and VC++ 2005 Express
I am trying to do Win32 stuff from a book I have, but I keep getting a number of different errors. Right now I am getting this error: ------ Build started: Project: Example 2, Configuration: Debug Win32 ------ Linking... main.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function _WinMain@16 C:\Documents and Settings\Owner\Desktop\Programming\Windows Game Programming Book\Chapter 2\Example ...Show All
Visual Studio Adding new VSS DB (Internet) in VS.NET, why provide local srcsafe.ini path?
I don't understand why you have to provide the UNC path to a srcsafe.ini file when you're trying to add a VSS database via the Internet. Any news on this I'm sorry, I found my answer here: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=115726 I was assuming the share given had to be accessible from the client's PC. I didn't realize this share was expecting to already be logged into the server and more of a "security chec ...Show All
Visual Studio Tools for Office VSTO Deployment question - additional files on network share?
I am in the process of changing the deployment model of a VSTO Word solution that is currently deployed locally. It needs to be deployed on a network share, so that all user's solution Word documents, whether email to one another or accessed from a Sharepoint site, point to the same assemblies and can be used with the VSTO solution. Users will often be working offline, and it is my understanding that the assemblies from the network shares ...Show All
Windows Forms SignTool reported an error 'XmlResolver can be set only by fully trusted code.
Hi all, Everytime i publish my winform app, I encounter this error. "SignTool reported an error 'XmlResolver can be set only by fully trusted code." How can I fix this problem. Thanks Me too. Delete the ".sln" can resolve temparely,but next time if we copy source to another PC,it comes again. Faint~ ...Show All
.NET Development Text in XSLTransform
I am transforming one xml file to another using XSLT file. I create XSLTranform and load the stylesheet before calling the transform function. It seems to work fine but there are a few problems with text. When the XML file that I am trying to transform includes special text such as "£" sign the transformation will fail. I assume that I need to set some parameter to support w_char or unicode somewa, but I can't seem to fine the information needed ...Show All
Visual Basic Minimize my code
Hi!! Please help me, I have ha problem with multiply code. I going to make several buttons on a form, but I want to minimize my code. I have tried using arrays but it doesn’t work with ‘ New’ Se the following example. In the example I have five buttons, but in the real program I’m going to use 50 buttons. And that will generate lots of code if I can’t use arrays or something else. So can any one help I would be gratefu ...Show All
Smart Device Development WebBrowser Problem
I'm currently developping a netcf 2.0 application for wm 5.0 devices. I've embedded a webbrowser control but i have three problems with it : 1- when i do webbrowser.document = "htmlcode" and there's pictures in the html code, the web browser start flicking. 2- The hyperlink in the browser does not seem to work. The navigating and navigated event are not fired when i click on a link. 3- I would like to be able to move the we ...Show All
Visual Studio Express Editions Pass on variables?
In windows form application I made two forms... One is the dialog thing and one is the main form... I made it so that the variable "selectedPath" equals a certain thing... Then I need to confirm the path... and label3 is placed in the dialog... so when I type in: label3.Text = selectedPath it says that the variable "selectedPath" is not defined... How can I make it so that the main form passes on the variable "selectedPath" to the ...Show All
Visual Studio Express Editions .settings files in C++
I am using both C# and C++ express editions. In C# the .settings file is generated automatically. In C++, i cannot figure out how to get it working. If i add properties to a control, it says add a settings sheet, but i cannot find where to do that. Any help is appreicated. I am new to C++ my seft but i think i know what you mean is it the componet settings for things inside your form if so then they are ...Show All
SQL Server Need to query max value between several colums for each row ?
Hi I have some trouble getting a max value off several columns for each row, the sql funktion MAX (string) can I only get to work on at single column, so how do I do'it if I want to get the MAX value in the X-Axis of a table. Thanks in advance I hope somebody can help /Kenneth Worm You have to use CASE expression to perform MAX or write a scalar UDF to perform the same logic. Inlining t ...Show All
.NET Development Simultaneous calls to services results in The request was aborted: The request was canceled
Hi Everyone I am making simultaneous calls to seperate web services on the same server. The services have WSE 3 enabled using certificate based security. After a minute or so of running one them returns with the error "The request was aborted: The request was canceled", I am completley stumped, if I just make one of the calls then everything is ok. Here is the stack trace from the exception: at System.Net.ConnectStream.Inter ...Show All
Visual Studio Team System Visual Studio 2005 Professional
Will Visual Studio 2005 Professional be able to access Team Foundation Source Control directly or will we have to use the TFS 'explorer' to do Get/Check out/Check in etc I seem to remember reading that Professional would be able to directly access TFS Source Control but this page http://lab.msdn.microsoft.com/vs2005/productinfo/productline/default.aspx seems to contradict that (and I can't remember where I read what I think I read) ...Show All
Windows Forms DataGridView and BindingNavigator modifiers problem
On my Windows Forms app I have a base form called DataEntryForm. On this form I have a ToolStrip, a DataGridView, a BindingNavigator, a StatusStrip and two buttons. All these controls are protected friend. I have a second form called EmployeesForm inherited from DataEntryForm. I can change the properties of all base form controls but the DataGridView and BindingNavigator properties using the designer. Its like they had not protected modifiers... ...Show All
SQL Server C# CLR best practice example
Folks - had a look around Google and no surprises, but never found what i was looking for. I want to see a real work best practice C# Stored Procedure for Sql 2005 (express is what i am using, but don't mind the Sql edition). Almost everything i see is a "select * from table" which to be honest was my first stored proc many years ago - everything since has been fairly detailed. I ask as i am sceptical, after years of trying to STOP ...Show All
