Fretje's Q&A profile
Windows Forms .Net 2 Progressbar not working in Win2000?
Hi all, Hope you can help me. I've ported a Windows Forms app to .Net2 and VS2005. In one form, I am using the progressbar control in Marquee style with animation speed set to 200. In this form, I'm running a backgroundworker. As soon as the backgroundworker completes, the form closes itself. Everything works just fine on Windows XP. On Windows 2000, the actual processing does work, but the progressbar is not animating! It's just empty. Quotes from MSDN: "Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 Platform Note: The Marqu ...Show All
SQL Server SSIS Requests...
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
SQL Server Detecting an Analysis Service and Uploading a cube during Install
Hi, I'm currently working on an installshield (groan) project for our web application and we have just added OLAP functuality. We have used Reporting Services with great success and have our Installer detect an SQL server and check the connection with a username and password or windows auth during install(using InstallShields built in SQL functuality) giving us a great instant demo-from-install for our app. However this does not give us any help with OLAP as we need to detect that an Analysis Service is running (possibly on a different server/instance) than the SQL Server that we are using for RS. Does anyone have any help with this ...Show All
Visual Studio Team System No effect of "define _CRT_SECURE_NO_DEPRECATE 1"
For the moment I want to suppress all the deprecated insecure functions during static code analysis. I've added this line in two separate files that get included in all source files: #define _CRT_SECURE_NO_DEPRECATE 1 to no effect -- the output still contains warning of these functions. A colleague has resorted to #pragma to supress these warnings. I'm curious as to why this doesn't work as documented in the help. Thanks. Sample warning: foo.cpp foo.cpp(18035) : warning C4996: '_wfopen' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\wchar.h(827) : see declaration of '_wfopen' Message: ' ...Show All
SQL Server Fixed
I fixed the problem, what I was doing was working. I was doing something stupid. I was not refreshing the user properties in the GUI. ...Show All
Windows Forms Combo Box Questions
I have created a combo box from which to choose an employee. The datasource for the combo box is a datatable. I've set it up with With Me.cboEmployee .DataSource = dtEmployeeList .DisplayMember = "EmplName" .ValueMember = "empl_id" End  ...Show All
Visual Studio Team System Bug -> Details -> Found in build
Hi, "Bug -> Details -> Found in build" is a drop donw list and I would like how I can populate it without using automated builds. thnaks in advance for any info You can use ALLOWEDVALUES. Since the list of build number change frequently, you can create a global list for builds and use that global list inside ALLOWEDVALUES. Everytime when you get new build you can update that global list using glimport.exe and you don;t need to change the WIT definition. When you have a new build you need to change the global list in this case.Alternatively, you can have a batchjob running (once a day or twice a day) that uses OM to upd ...Show All
Visual Basic WININET.DLL problem (BUG!)
Hi, I am trying to use FTP functionality calling FtpFindFirstFile & InternetFindNextFile functions. With some directories that I list everything works fine. However, with other directories instead of just the filename, I get entire long listing format string as the filename for each file, e.g. I get this as a filename: <-rwxrwxrwx+ 1 None 34359 Feb 22 18:21 install.log> instead of just <install.log>. This started happening on WindowsXP (so I guess WININET.DLL for WinXP is broken). Does anyone know how to fix this There seems to be nothing special about the directories and files that work and those that do not (I checked permi ...Show All
Visual Studio 2008 (Pre-release) adding and retreiving resource file in Avalon/XAML application
i know how to use ResourceWriter and ResourceManager in normal window form application, for creating and using resource file. Problem is what is the correct way to build or use resource file in Avalon/XAML application, coz i am getting errors in plenty. If some one have created this, please passon the code for same. ...Show All
.NET Development Socket crashes on AccessViolationException when the peer side aborts (net2.0 beta2)
Hi, I experienced a weird problem with socket on my machine. On my colleague's it works like a charm. When I have socket, waiting for incomming data (after I called BeginReceive) and the peer side aborts - eg. I kill the telnet.exe who I used as a client, the socket throws AccessViolationException on unknown module. The crash itself is in > imon.dll!20b0cd39() did anyone experienced something similar, or it's problem on my machine regards georgem Unfortunately, I can't get this to repro on my side using a current build and the dump file you sent contains only a ...Show All
Visual Basic Where put initialization code in 2005
In VB 2003, when creating a winform, there was always a section that read like this: 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call In VB 2005 there is no such concept, so where do you put initialization code in VB 2005 Jim I couldnt agree with you more about putting you user code in the Form1.vb file and not the Form1.Designer.vb file. Sure you can modifiy the system generated code but this I would say was something you do with caution as soon as you start making chnages here - its somet ...Show All
Windows Forms Test Certificate Signing problem
Hi, I have created a test certificate using VS 2005 and installed it in the Trusted Root Certification Authorities and Trusted Publishers. I have set my manifests to be signed by this certificate. Then I am publishing it into an intranet zone ie http://<machinename>/<appname> When i try to download the application from the same machine, I get a "The publisher could not be verified" prompt, and the publisher name is coming as "Unkown Publisher". Is this a bug, because I have the certificate installed on the same machine, even if I get the prompt why am I getting an "Unkown Publisher" as the publisher name Thanks, Kunal ...Show All
Windows Forms datagridview help
I preparing an application using datagridview having datagridviewTextbox. The requirment of this application is that when the application first loads the datagrid view should not have any cell selected. the datagridview by default selects the uppermost left cell as selected. How can i have no cell selected in the beginning. I tried to set FirstDisplayedCell property for the purpose but to no avail. Use DataGridView.ClearSelection() . Hope this helps... ...Show All
SQL Server Cancelling Deployment
I'm getting closer! I created a model and selected Deploy from the Build menu on the tool bar. I started getting info on the deployment process in the Deployment Progress window, but when it reached the "Processing Cube" part, it didn't make any more progress for about 20 minutes, so I selected "Cancel" from the Build menu. Then I tried deploying it again, and I got the message that the Movie db had changed since the last deployment and would I like to continue. I clicked Yes, but I only got the Command line in the Deployment Progress Window and no progress after an hour. Do I need to completely redo the project I' ...Show All
SQL Server Problem dropping replication support
I am working on establishing a merge replication process between SQL Server 2005 and SQL Mobile 2005. I started with a new SQL Server 2005 instance and went through the Sample for SQL Mobile merge replication. So far so good. Today, I tried to drop all support for replication on my current SQL 2005 test instance, so that I can start from a fresh instance and do another. I used Management Studio to drop all publisher and distribution settings and had several errors occur, where some roles were not allowed to be dropped because they had membership in them. I dropped all the users that I added to the SQL logins and tried again. Now I a ...Show All
