Ross Feickert's Q&A profile
Visual Studio 2008 (Pre-release) ResourceDirectionary has not effection
Hi, I'm puting a ResourceDirectionary that refers to a ResourceDirectionary file in the Windows.Resources section, but the style setter don't take effect. Why Couldn't tell you without seeing your code, it might be a bug we recently discovered, or it might be something incorrect in your xaml. ...Show All
Visual Studio Express Editions ; after every line in int main() {}
I read in a tutorial that at the end of every line in the int main() {} . But then I had a bunch of problems coming up with this code and one of the main problems was the fact that I put semicolons at the end of every line in the int main function. Here is the code: #include <iostream> using namespace std; int main() { int choice; cout << "Enter the number 1 if you want the color blue \n"; cout << "Enter the number 2 if you want the color red \n"; cout << "Enter the number 3 if you want the color green \n"; cout << "Enter the number 4 if you want the color orange \n&qu ...Show All
Windows Forms Need Help with this new coding Conventions.
Dear AnyOne, I am Visual Basic 6.0 developer. I am new to this Visual B 7.0. I need some help on some basic points. 1. How to declare a public variable in the main module so that it can be used anywhere else in the project. (It generates an error i.e. "Public i ...Show All
Visual FoxPro frmpanemanager.setpane
I get this error message from an OLE when I try to open a form with run command in interactive mode. The debugger says that the source code is unavailable. The call stack is as follows: frmpanemanager.setpane frmpanemanager.init ClassLib: forxpaneengine.fxp The file path leads to a directory in C:\\documents and settings\\..... That's it. I have never seen this object before. What can I do about it Thanks. << open a form with run command in interactive mode.>> What do you mean by this frmPaneManager is one of the classes involved with the Task Pane Manager tool. Are you using that tool Tamar ...Show All
Windows Forms What's wrong with my FolderBrowserDialog?
Hi, I use the FolderBrowserDialog in installer class. However, when the dialog box is open, I did not see anywhere where a user can select a folder. It has just three buttons. Using MessageBox, I saw folder_browser_dialog.RootFolder = "personal". It does not looks like a path. What is the problem here Or FolderBrowserDialog cannot be used in installer class Please help me. Many many thanks. Below is the code. FolderBrowserDialog folder_browser_dialog = new System.Windows.Forms.FolderBrowserDialog(); folder_browser_dialog.Description = "Select the directory that you want to use to create tickler letters."; folder_browser_dial ...Show All
Visual C++ debug question with an executable file
Hello, I have made a dll project and tried to debug it with an executable file called CANoe32.exe which I have specified in the preperty settings. Whenever I start the debug a window popup with the error information "CANoe32.exe doesn't contain debug information(no symbols loaded) ". If I choose "cancel" the output window gives the following information " load CANoe32.exe no symbol loaded" "load ntdll.dll no symbol loaded" and so on. I have tried many time but it doesn't work. Any help will be appreciated Thanks Xu Jiameng This ...Show All
SQL Server Error with Function and Procedures
I have just streamlined my pile of functions and reloaded the result into a Stored Procedure. I now have two different errors. here are the two FN's and the SP. This will be a long message so apologise for its length; Function 1:- SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo] . [fnWTRalldata] ( @dt_src_date datetime , @chr_div char ( 2 ), @vch_portfolio_no tinyint , @vch_prop_cat nvarchar ( 4 )) RETURNS @WeeklyTerrierRSPI TABLE ( Areacode varchar ( 2 ), siteref nvarchar ( 3 ), estatename nvarchar ( 100 ), Securitised nvarchar ( 255 ), unitref nvarchar ( 15 ), ...Show All
Windows Forms Code secured against DISSASEMBLING it.
Helo, I do have small app. developped on vb.net. How do I make it so it can not be dissassembled and viewed by ILDASM There are obfuscating tools but they are so VERY expensive. ANy one, ANY help will be highly appreciated. Thank you Right click on the Project and chage it from a Windows Application to a Class Library and create a&n ...Show All
SQL Server can database name be assigned as a variable?
I need to have a query like below to run to select all the fields from different databases that each database have a table named 'table1' select * from test...table1 select * from test1..table1 I have the following code sample: declare @dbname varchar(50) set @dbname='test' select @dbname select * from @dbname..table1 However I received the error messge when I ran this code. Can anyone help to resolve this Thank you! Hi One way of doing this is to build the query dynamically and use the Exec, as shown in the example below: Declare @xQuery varchar(1000) Select @xQuer ...Show All
Visual Studio Express Editions Beginner Code Help. Not sure where to start.
I have a .bat file that I would like to convert into an .exe using visual basic express 2005. This is what the bat file looks like: @echo off IF EXIST "c:\network.txt" ( rename "c:\documents and settings\all users\desktop\network.lnk" Mobile.lnk rename c:\network.txt mobile.txt copy c:\away.ini "c:\program files\cad\etc\standard.ini" cls echo. echo Copying Cad Standards Directory xcopy /E /I /Y /Q \\server\proj\stds\new folder\newfolder\*.* c:\dwgs\stds\new folder\new folder cls echo. echo 10 Percent Complete ... xcopy /E /I /Y /Q \\server\proj\stds\new folder2\*.* c:\dwgs\stds\new ...Show All
SQL Server Problem with User Defined Function
I wrote a UDF to get a rolling average based upon a date passed to the UDF. The error I get is: Server: Msg 102, Level 15, State 1, Procedure fn_RollAverage, Line 26 Incorrect syntax near ')'. SET QUOTED_IDENTIFIER OFF GO SET ANSI_NULLS OFF GO CREATE FUNCTION fn_RollAverage(@CURVE_DATE AS SMALLDATETIME) RETURNS @TBLRESULT TABLE (US0001M_Index AS FLOAT, US0003M_INDEX AS FLOAT, US0006M_INDEX AS FLOAT, US0012M_INDEX AS FLOAT, usswap2_index AS FLOAT, usswap3_index AS FLOAT, usswap4_index AS FLOAT, usswap5_index AS FLOAT, usswap6_index AS FLOAT, usswap7_index AS FLOAT, usswap8_index AS FLOAT, usswap9_index AS FLOAT, usswap10_index AS ...Show All
Windows Forms Migrate to VS2005 RC1
Surprisingly, there are quite some changes between Beta 2 and RC1, which caused my Beta2 project failed to compile in RC1. Here is one that puzzled me, "Unable to find manifest signing certificate in the certificate store". I didn't sign my project in Beta2, and it didn't give me an error. So now in RC1, I have to sign my project It seems even if I uncheck the item in property page, as soon as I hit the publish, it will roll back to request the signing. Why did the beta2 version of the framework get "reinstalled" When you reinstalled the prereqs I believe you were downloading them fr ...Show All
.NET Development code access security
I have an application where the BR is completely based on plugins that run inside a framework I have developed. (This is in a Windows program). Most of these plugins are written by myself, but the option is open for others to create their own plugins. A plugin must inherit from one or more of my classes. Basically I want to do 2 things in my framework. 1. Catch all exceptions that get thrown by plugins, and unload these plugins if they become troublesome to the system. 2. Prevent these plugins from creating new threads. Number 2 is the most important issue and the thing that has eluded me most in my searches.&nb ...Show All
Visual Studio Team System Strange Results with Load Test
I created a web test with 4 simple steps (data driven): Log onto a website Retrieve a list of records Add a record Edit a record When I run this as a web test there is no problem. When I run it as a load test, during the warmup the requests start out at 7 requests per second and then within 30 seconds drop off to 0 requests per second and the test hasn't even begun. At the end of a 10 minute session, 0 requests have been posted. What's up with that and am I doing something wrong Jeff Hi Jeff, I'm not sure what is going on. What is the user load set to in the test If you set it to a ramping load do you see requests per second going ...Show All
SQL Server Want Hyperlink to Open in a New Window
Greetings. I have added a hyperlink to a report, and it works like a charm. Now I would like to change it so that when the link is clicked on, it opens the URL in a new browser. I cannot seem to find any information out there on this issue. Has anyone figured out how to do this Here is the RDL from the report I'm working with: <Action> <Hyperlink Target="_blank"> =Trim(Fields!sfa_WebServer.Value) & "SFADetail_IntakeCoordinator.aspx Record=" & Fields!url.Value </Hyperlink> </Action> I added the Target="_blank", thinking that would take care of it, but it had ...Show All
