KlausLeth's Q&A profile
Windows Live Developer Forums WLM buddy
great job on this IM client, the design, the features, everything, except one thing: when you right click the WLM buddy near computers watch, the context menu shows: ___________________________ Open MSN Messenger Exit so... why is that still there if i've been hearing that this is a revolucionary IM client blablabla... keep the great work The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://support.microsoft.com/newsgroups/ dg=micr ...Show All
Visual Studio Breakpoint will not currently be hit. No symbols loaded for this document.
I have been 'developing' with Visual Studio 2005 for about 3 weeks now - primarily .NET class libraries developed with VB. I am coming from VB6, although I did a lot of development with Visual C++ several years ago, so I am still trying to come to terms with the debugger. I have read many threads posted by people who are having a problem with breakpoints, specifically with the message in the subject line above. There have been many suggestions on how to fix this problem. Sometimes these suggestions work, sometimes they do not. Most of the suggestions involve deleting DLL and PDB files and rebuilding, or restarting Visual Studio. None of them suggest any problem with something the developer has done or any problem with the configuration of ...Show All
Visual Studio Can I make two DSL models interact ?
1. I want to create Relational model DSL and Object model DSL, and I want that Relational model produced code dependent from object model. Can I do it if possible - Please point to some related sources. ___________________ 2. I want to create visual relationshop between two models, can I do it To place DSL' on two Winforms panels and draw connecting graphics around them Or can I add visual artifacts to generated DSL deisgner this way as for team designers: picture: http://msdn.microsoft.com/library/en-us/dnbda/html/softwarefactwo_fig4thumb.gif from: http://msdn.microsoft.com/vstudio/teamsystem/workshop/sf/default.aspx pull=/library/en-us/dnbda/html/softwarefactwo.asp#softwarefactwo_topic6 _____ ...Show All
.NET Development Make deployment of .NET Framework 2.0 faster for end users
We have an application built on .NET Framework 2.0 and hence is a requirement for our end users to have it in order to run the software. We are using the ClickOnce deployment and its a very easy deployment for users with .NET Framework 2.0 installed on their machines. But for users who dont have the .NET Framework, its taking anywhere from 15 - 30 minutes (depending on their PC speed, internet speed etc) and they are not happy with the kind of time its taking. (We dont have any control as to check whether the installation went fine or crashed in the middle etc) Is there a better way to distribute .NET Framework 2.0 for our end users so its much faster Right now, we are using the Setup.exe that ClickOnce generates for this and we d ...Show All
Visual Studio Express Editions Error While Coding!!
I am following a book's direction to code, but when i entered this startment ' For intForLoopCtr = 1 To CInt (txtNoPics.Text) ' <<<<<<<< then it said 'intForLoopCtr" is not decared....... so anyone have any idea to make it decleared HelpMePI0x, you have to declare every object you are using, because Windows has to reserve space in the computers memory. Make sure you declare variables before you start using them! To declare an object, type this: dim 'objectname' as 'objecttype' for example (using your code): dim intForLoopCtr as Integer dim blnFullSetComplete as boolean Complete code (as far as given): dim intForLoopCtr as Integer dim blnFullSetComplete as Boolea ...Show All
SQL Server Help with Distinct SQL Statement
I'm trying to return a select statement with distinct values. I have 3 tables: Documents, DocumentAuthors and the linking table DocumentAuthorsRel. Since a document can have multiple authors, the DocumentAuthorsRel table holds the DocumentID and DocumentAuthorID values. I simply want to run a query which displays a list of all the document titles (no document title should be repeated, i only want to show the title once, distinct) held in the documents table, and with the document title, show the last names of a documents author(s). This is the statement Im using which is returning duplicated document titles (as a result of a document having multiple authors - found in the DocumentAuthorsRel table) SELECT Documents.DocumentID ...Show All
SQL Server Exclusive Row Locking in SQL SERVER 2000
Hi I have a table with 1 million records. I Have 5 applications (identical) that read from that table and perform the actions. Now, I want an exclusive locks on the data selected. The sql statement is below. select top 1000 * from Numbers With (***I need this part *** Exclusive lock on the selected data, not allowing other apps to even read) where IsSent = 1 How to achieve this. Please explain. Regards, Noorul You can do something like below: begin tran select top 1000 * from Numbers With (xlock, rowlock) where IsSent = 1 And you will have to keep the transaction open for the locks to be effective. But this is not really a good way to use the database engine. Holding a transaction open with ...Show All
SQL Server Orphaned SQL Logins on the Mirror
Hi there, I’ve recently set-up database mirroring between two servers in the same domain: DMZSQL01 and DMZSQL02 with a witness of DMZSQL03. The mirroring as all gone according to plan. Set up all the users/databases on the Mirror (DMZSQL02) and then do a back-up/restore to sync the databases and then enable the mirroring, this has all gone fine and we have lots of synchronised/mirrored databases now. However, if I do a failover the logins on the mirror are not valid, they are in SQL Server and also the database but they don’t work. I’ve read through other posts and found links to this SQL Server article: http://support.microsoft.com/kb/918992/ This has had no effect though. Do I need to remove ever ...Show All
Visual Basic Referencing a function in a different class.
I have a class, Class1, and a form, Form1. From Form1 I want to call a function, Func1, that resides in Class1. The function is a Public function as well as the class. I use the following to call the function, Call Class1.Func1. However, it gives the following error. "Reference to a non-shared member requires an object reference." I remember seeing this message before and somehow got around it. I am stumped as to what it means exactly. To me, it is worded strangely. If you are able to help then please do so. Thank you in advance. Troy L Best shown through an example. The two common scenarios that occur. I sounds as though you are trying to refer to a method in the class library without creating an object. If you wan ...Show All
Commerce Server Update one item of information through Profiles adapter
Is it possible to simply UPDATE one item of information in a User Profile (UserObject row) while leaving the others intact (the way we simply are able to update one item of inform through the Catalog adapter) We have a huge number of items (columns) in the UserObject table and it doesn’t make sense to pull them all out and then update them again for no reason when we need to update only one item. How else to achieve this I checked the web methods available for the Profiles Web Service – none seem like a good candidate (something like UpdateItem or SaveProperty) -------------------- context -------------- In general, you need to pass in ALL elements of the UserObject profile on update. Elements that are not passed in are ...Show All
Smart Device Development eVC4.0,MFC,SDI application - Proper way to change font for a static control?
I have a problem getting my font changed for a view in my SDI application. I have done what I thought was the logical way of seting the font for my static control that is on the dialog template that the view is useing. Here is what I've done and produces nothing because the OnInitialUpdate function is NEVER called. class declared as: class MyView: public CFormView member variable of that class: CFont m_titleFont; In the implementation I have the OnInitialUpdate overridden with the following: m_TitleFont.CreateFont(16, //nHeight 0, //nWidth 0, //nEscapement 0, //nOrientation FW_BOLD, //nWeight FALSE, ...Show All
Visual Studio Express Editions radio box text
I have fourRadioButtons on a form. I want to assign a different text value to each (based on the contents of a picturebox), but I don't know how to. Well you simply set the .Text property of them. Example: Me.theRadioButton1.Text = "new text" Me.theRadioButton2.Text = "new text" .. .. however you need to determine this "content" shown in the picturebox in some way. Perhaps by the Image location/file path of the image ...Show All
Windows Forms Storing custom class in Application Settings
I would like to store a class defined by me in the "windows from application settings". This is not easy to do, but it seems to work, mostly: 1) Open Settings.settings with the Settings Designer. Because the dropdown list doesn't allow me to chose my own class, I just use a property of type string. Close the Settings Designer and save the changes. 2) Open Settings.settings with a text editor. Change the type to my class. save the change. 3) Open Settings.settings with the Settings Designer. A property wiht my the type of my class is displayed. Nice :-) From my code, I can create a new instance of my class and assign it to the application settings, save them and read them again. This works for all fields in my class wh ...Show All
Visual Studio Express Editions what day in week?
how do detrimen what day it is .. monday, tuehusday, etc.. or with an integer with 1 = monday 2 = tuehusday ... hehe just a way do deside the current day in the week . thanks :D hmm ... i think their is somekind of buge in VB .. i am not sure what the error was cursed by, i just commented out all the things with date involved. Now when i build it is workes okay .. but when i debuge it, it still not working, its showing me an old form.. ... also before i remove the error that i could only see when building and then launching the program was also not displayed in VB .. so i am pretty sure that is has a bug of some kind ... hmmm i am just going to try to send my project to my other pc.. just to check th ...Show All
SQL Server Sending Table Variable Argument using MSFT JDBC Driver
Hi. I want to call a stored procedure that has a table variable as its parameter. I am using the MSFT SQL Server 2005 JDBC driver 1.1, however I don't know how to construct a table variable from the Java side to place within a CallableStatement. The CallableStatement interface allows me to set various types of parameters (e.g. Boolean, Byte, Blob, Array, etc.) but I don't see anything for table variable. Is there a way to do this You are correct that SQL Server does not support an ARRAY data type. However, you can find various alternatives by searching on terms "array" "parameter" and "sql server". One collection of methods is at http://vyaskn.tripod.com/passing_arrays_to_s ...Show All
