Morten76's Q&A profile
Smart Device Development using bit values in VS 2005 database manager
Hi, Here's my problem : I'm using the server explorer to manage my sdf database, some collumns are in bit format, when I put some data in it (using the manager), I got checkboxes (to put the value to 1 or 0 I figure). But if I don't edit the checkbox (meaning : if i don't put the checkbox to "check" value) the manager let the collumn value do DBNull. I guess I can check then uncheck the cell... but doing so on more than 10 collumns in 5 separate tables with at least 20 rows in each... I think you can figure out how long it takes. Are you planning on updating this part thanks! Seta, I understand what you' ...Show All
SQL Server After Install of 2005 still 2000 Engine!
I have installed the new SQL Server 2005, but I see my local database as version 8.9.193, means SQL Server 2000. I do not know why setup did not upgrade it. What do I need to do now I think some new options are now working because of that... Radiogeneris, please read the Books Online that came with your SQL SErver 2005 installation, it will give you a good overview as well as help you better understand your installation process/problems. You can also access it online at http://msdn2.microsoft.com/ms165606(en-US,SQL.90).aspx . After you've read the documentation, please feel free to post any follow up questions. ...Show All
Visual Basic Textbox background image
Hello all, I've been searching through a bunch of VB websites etc, and I just can't figure this out: I'm trying to make the background image of a textbox one of the .bmp images that the program has (you know how you add item, add bmp. Sorry for such a stupid question! Any help is greatly appreciated -Robert Hi Robert, You can check out this thread - http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=429224&SiteID=1 - which points to this article: http://www.codeproject.com/cs/miscctrl/alphablendtextbox.asp Hope that helps, Jonathan Aneja The VB Team ...Show All
Software Development for Windows Vista Qury Regarding Long Running Workflows ....
Hi to all Well i know that WF had a capability to handle long running workflows , now here are couple of points i want to ask , please provide the detail answer 1) Very simply how you guys handle following scenario , you have workflow running and Machine got resarted/ reboot I mean is the workflow starts next time with previous state / Activity or gona crash as in non destermenistic state 2) hmm what are mimium steps to acheive hydration / dehydration and how it works 3) once a workflow is running what are best practices to handle long running workflows The main thing you have to have in place is t ...Show All
Visual Studio 2008 (Pre-release) XmlDataProvider - Speed issues
I have a ComboBox whose ItemsSource is a very large XML document, the XML defines over a hundred different nodes that will be options for the ComboBox. When I run the application there is a noticable delay each time the popup of the ComboBox is opened. - Is the XML document being parsed each time the popup is opened I have it defined as a StaticResource. - Is this a known issue that will be cleared up in future WPF builds - With this many ComboBox options is there a better way to define them than an XML document - I have the XML defined in the resources of my Application object. When I open the .xaml file Visual Studio runs thro ...Show All
Windows Forms Saving changes and new rows in DataGridView
I feel really stupid for asking this, but how do you get the new rows or modifications to the data in a datagridview back to the table I have a datagridview connected through a bindingsource. Whenever I add a new row, type in my data, then tab to the next row, everything I just typed in goes away. It doesn't work the way I expected it to work, so I need somebody to tell me how it really is supposed to work. Actually I figured it out. It was saving it all along. The problem was that my bindingsource was filtered. Unfortunately, I wa ...Show All
Windows Forms How to create a popup conatiner control like the vs2005 smart tag window
Hi everyone Does anyone know how to create a popup control that can contain other controls which looks and behaves much like the smart tag window for controls in the vs2005 designer. I found an article on vb accelerator http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Popup_Windows/article.asp which seems to work quite well. Is there a better way to do this now Any help would be much appreciated. Thanks in advance. Dan Thanks Jessica that works well. So would I be right in thinking that the controls that appear when you hover over an object instance whilst debugging work in a similar w ...Show All
Visual Basic Persisting Usercontrol Properties
Hi, I've upgraded a usercontrol from vb6 to vb2005. Apart from the tons of upgrade warnings that I got, this post is related to the InitProperties, WriteProperties and ReadProperties that have been deprecated. VS Help states that there are 2 methods to persist properties: 1. Serializing 2. My:Settings Well, the problem with serializing is that the usercontrol can be placed on a number forms, and the file in which the properties are serialized is always the same. So this is a first come first served situation ... and is a flop. As is the case of many usercontrols, I have a set of controls within one project, and most control ...Show All
Visual Basic how do i....textbox?
Well basically i want to know how i can write an IF...THEN decision structure based on the contents of a textbox. for example lets say i want to say something like IF textbox1.text (has no text in the field) THEN textbox1.text = 0 Also how do i write a code that only allows integers of a positive value to be typed and accepted into the textbox // IF textbox1.text (has no text in the field) THEN textbox1.text = 0 You want to text to equal "0" You should put it in quotes. VB, being weakly typed, will do this for you, but it's better to say what you mean :-) if string.isnullorempty(te ...Show All
Visual Basic LAN Messaging
I am looking for information on how to create a messaging program inVB 2005. I want it to be able to send files (ie. images and documents), private messages and group chat over a LAN. It is going to be a part of another program. I have found something similar on Coding4Fun that is written in C++, it's called Media Share Messenger. Any information would be helpful, thank you. Well there's quite a bit of backend, which usually requires a log-on server. Each person would log onto this server, the server holding user names, passwords, buddy lists, file sharing lists, and other things you'd want to hold universal ...Show All
Windows Forms Web/Smart Client Architecture Question
We are looking to port an existing desktop app to a web solution. The biggest downside in a web version is the lack of functionality available in comparison to the desktop version. To counter these limitations we are also considering a smart client version for the power users that need the full functionality. The question is, if we create a set of web services for the data access layer for the smart client, would there be any issue in using these exact same services to drive the web version as well Would there be any extra overhead, slowdowns, inefficiencies with the web version in using a web service to drive it's data ac ...Show All
Visual C# Problem starting applications based on Skype Starter Kit for C#
Hi All, I downloaded the Skype Starter Kit, I added the reference to the SharpLogic.Skype library and when the application starts I got this exception: "Could not load file or assembly 'SharpLogic.Skype, Version=1.0.2299.29912, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)" I'm using VS2005 and Skype 2.0 Can anyone help me please Regards Paolo Hi, PJ. the dll is into the Debug directory as well as the exe ...Show All
Software Development for Windows Vista Single Frame Animation
I need to create avi files one frame at a time, preferably by passing bitmap structures or DirectX drawing surfaces into a function that will do this, then create the audio by attaching a wav file stored on disk This was very easy to do using the old windows media video functions, but these old functions only support AVI1.0, with it's troublesome 4GB file size limit. So I'm looking for a solution that allows me to create AVI2.0 files in order to ditch the file size limit, but DirectShow seems to be the only thing I can find that will do this. Unlike the rest of the DirectX9 managed code, DirectShow does not seem to be very .net frie ...Show All
Windows Forms Using COM Interop on my Component
I've created a component and I've checked the box in VS.Net to "Register for COM Interop". The only problem is that every time I bulid the solution (even if I don't change method signature), I get a new CLSID associated with my control, which means that all applications that contain my ActiveX control have to be modified to use the new& ...Show All
SQL Server Someone have an example of KPI's Status (coding)
I need to analyze the code that allows to chanche the colors in a gauge ...Show All
