mikalush's Q&A profile
.NET Development Windows 2000 Unhandled Exception
I am running an app that connects to an SQL Express DB. I have a public connection variable Public mySqlConnection As System.Data.SqlClient.SqlConnection I then initialise it and connect to the DB like this: Dim DBName As String, DBPwd As String, sConnect As String DBName = "TimeBooking" DBPwd = "xxxx" sConnect = "Data Source=10.130.16.94\SQLExpress;Initial Catalog=TimeBooking;User Id=tb;Password=" & DBPwd & ";" mySqlConnection = New System.Data.SqlClient.SqlConnection(sConnect) This works fine on three machines all win XP Pro but reports an unhandled exception when run on Windows 2000. Two strange things are: 1. The exception SHOULD actually be handled as I have a Try ...Show All
Visual Studio Team System Your project or one of its dependencies contains syntax errors.
On Preview Changes - Rename , the following warning appears: Your project or one of its dependencies contains syntax errors. References may not be updated. That's not helpful. I need at least a hint as to what is wrong. As things are now, I'm left to guess. The problem remains. Here are the steps: 1. Went to menu bar. Selected View | Error List. 2. Went to Schema View. Right-clicked the CURVECLASS table. Selected Refactor | Rename. Entered a new table name of curveClassTemp. Left checkboxes set to the defaults (checked, unchecked, checked). Clicked OK. 3. Preview Changes - Rename says "Your project or one of its dependencies contains syntax errors. References may not be update ...Show All
Visual Studio Express Editions Creating executable files
I'm rather new to the .Net environment and i just started using Visual C# express edition. I have written a simple console Hello World program. I would like to know how can i easily create the executable file for the program. E.g. HelloWorld.exe instead of using the publishing method and creating a lot of steps. Appreciate any help and any links to point me to. Thanks Hi, whenever you build your project, an exe file (and other dlls, if you have a multi-project solution) is created in your project's /bin/Debug folder. You can run the program from there, or copy the files to another location. [Note: if you're building your project in Release configuration, the files get copied to ...Show All
SQL Server Extracting Data from lotusNotes into SQL SERVER
I have a form in Notes that is huge. I need to extract a part/field from that form into SQL SERVER. If I use NotesSQL Thru SQL DTSPackages, I am afraid it will run very long. Is there any other option on that Any help is appreciated. you need the right connector to be able to deal with the Notes as a source/destination. Please check our Data Sources matrix in our connectivity wiki to see possible alternatives for Lotus Notes integration: http://ssis.wik.is/Data_Sources ...Show All
Software Development for Windows Vista [PersistOnClose] - Not persisting?
I have a pretty simple Sequential Workflow with 2 copies of a Custom Activity that simply set some tracking values. Each Activity is decorated with [PersistOnClose] , the Execute function returns an AEC status of Executing and I am using a Queue to return some values to the QueueItemAvailable handler. This handler then ultimately calls CloseActivity(); Each activity sets different tracking values, and what I am seeing is that BOTH activities run, despite the [PersistOnClose] and the CloseActivity Is there anything else I am missing to persist after my activity is completed Regards, Dave Jon Flanders wrote: Handle the WorkflowRuntime.WorkflowPersisted event just to make sure. I was just i ...Show All
Visual Studio Team System Recording Atlas (Ajax) control
Hello, After recording a web test with a page including an Atlas control, there is no Form Post Parameter recorded from the page. How can I go around it Thank you in advance for your help Jeanvo QA Have you tried Fiddler It can be downloaded from www.fiddlertool.com . ...Show All
.NET Development Urgent: Loading User Control dynamically without refering in the current project
hi all, I have developed a user control ... now i want use it in another project filters (user controls) should dynamically displayed in visual basic 6.0 we are using VbControlExtender ... plz give reply if anyone know it require urgently........ Thanks pavankumar Hi, Some of my friends given suggestions, but they are not getting my question properly due to communication gap........... Actuvally i had developed a user control using class library. Now i want to use this control in another project. one method how to use in my current project is GO to tabs in IDE projects->references->here we selected that control. but my requirement is i d ...Show All
Community Chat I can't believe most Windows users don't know how to use toolbars, OMG.
This is most irritating. Almost all of Windows users in my company don't know how toolbar works. They don't know they can enable toolbar, take out toolbar, customize toolbar, and not even the simplest of all, move toolbar around. Toolbar is so simple, standard, and flexible. And yet, they don't know how to use it. And now, I think that's the main reason why IE7 doesn't support moveable toolbar, and that pisses me off even more. Argh. I remember when toolbars first started coming out, they were a real pain in the arse if you accidentally moved things around and lost "icons" for features you wanted to use. Also, I have seen many apps go back to the default setup. Who wants to setup your toolbar ...Show All
.NET Development Method Configuration.Refresh can not be reflected.
I am getting the following exception in a windows application that invokes a web method. The behavior is not consistent and it being thrown from the proxy class' constructor. Method Configuration.Refresh can not be reflected. at System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs) at System.Web.Services.Protocols.SoapClientType.GenerateXmlMappings(Type type, ArrayList soapMethodList, String serviceNamespace, Boolean serviceDefaultIsEncoded, ArrayList mappings) at System.Web.Services.Protocols.SoapClientType..ctor(Type type) at System.Web.Services.Protocols.SoapHttpClientProtocol..ct ...Show All
SQL Server filegroup auto-growth - know when it happens?
Hey guys, I'm running SQLServer 2000. I am in the process of looking over our current filegroups and providing reports based on file size increases. One thing I'd like to know is when (date and time) a filegroup last "auto-grew". Is there a way to know when this occurs thanks, Jason Derek, Thanks for the info. I should have re-worded my question I think: Is there a way to know when the date/time a filegroup last auto-resized Let's say it auto-resized last friday, is this timestamp stored somewhere Profiler would tell me only if I was running it at the time of the resize. I'm trying to correlate the time of an error with the last time a large filegroup resized. thanks Jaso ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Framerate component
Based on this thread I have created a simple framerate component. Considerations: You might change the namespace in line to your game's namespace. Currently, the game window's title will be used to display the framerate (this will change when XNA supports fonts). As a workaround, you can use garykac's bitmap fonts example to modify this behavior. If "Enabled" is set to false, framerates are not calculated (Current is set to 0). If "Visible" is set to false, the current framerate value is not displayed (but yet it can be calculated if enabled). When you want to show the decimal part of the framerate value (that is, "ShowDecimals" is set to true), you can set the display format to the fixed one (like "0.00"). You can also set whether the t ...Show All
Smart Device Development Sample Windows Mobile 5.0 Pocket PC SDK Projects
Hi all, I was just having a gander through the sample projects provided with the WM5.0 SDK and noticed that the CPP (C++) projects seems far superior to those of CS (and VB). For example, the listView example project allows ListViewItems to be editted (pops up the SIP to enter text) within the control by tapping the relevant ListViewItem three times - is this not possible (editting the Text of a ListViewItem) then with in C# (Does C++ over more power in terms of developing mobile apps ) Excuse my lack of knowledge here, but C++ is not classes as managed code is it Also, if the platform supports TextBox controls, you can set a ListViewSubItem to be of this type ...Show All
Windows Forms Why the designer does not detach event handlers
When the designer creates and attaches event handlers in InitializeComponent() on say the MainForm, why does it not automatically detach these in the Dispose override method Thanx Because there is no need to. It is important to detach event handlers in the case where the event source object and the event target object have very different lifetimes. In the case of designer generated code event sources are the form controls and the event target is the form itself. It's obvious that these objects have the same lifetime in all normal cases - when you close the form its controls goes away with it. ...Show All
Visual Studio 2008 (Pre-release) STS Sample "Federated Security" on wcf.netfx3.com
Hi, I've got this Federated Security sample running ( http://wcf.netfx3.com/files/folders/authorization/entry1954.aspx ) and I would like to make an additional client application. This second client is a copy of the "Client" application included in the sample however this copy will be running in-house "at Woodgrove" rather than "at Fabrikam". This copy needs to work when the Fabrikam STS is unreachable (not running) When I use SvcUtil, I get a config file that is for running a client from Fabrikam and I'm not sure how to generate (or change) the file to get the "at woodgrove" behavior. "This Woodgrove client should not need to contact the Fabrikam STS i ...Show All
Visual Studio Express Editions How To Open Window In Internet Explorer When we click on link on any website
I am developing application which downloads file from internet. I want to know that how to open a window in internet explorer in any website when user clicks on any link. Thanks in advance Regards Ketan Hi, Ketan Could you tell me where is the links be located as you mentioned Did you use the webbrower control or just a linklabel or something else If you use linklabel, just program in the LinkClicked event to open a url in the browser. For example: private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { &n ...Show All
