lachlanj's Q&A profile
Windows Live Developer Forums Windows Live Messenger shutdown itself
I had downloaded the Windows Live Messenger from microsoft site and i had install it. My problem is, every time i try to login Windows Live Messenger, he shutdown itself. I had unnistal it, and instal again but the problem keep. How i can fix it Sorry my english, i am portuguese... 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=microsoft.public.msn.messenger&cat=en-us-msn&lang=en&am ...Show All
Architecture To use DevForce O/RM or Datasets?
Hello, I am wrestling with the decision on how to design a new (Order Entry) application. I am using VB 2005, and it will be a Windows Forms app. I have about an intermediate+ level of expertise. In the past I have used VB DataSets and the whole dataset designer which connects to the database. Since then I have learned about O/R mapping tools and am considering using DevForce from IdeaBlade. It seems to work well, so far connecting to the database and generating the classes that relate to the tables. I like this concept and think it makes sense. This seems like a big change, or is it My question is, is this a good direction to go Everything you read from the VS documentation refers to typed Datasets as well as the examples. Wha ...Show All
Visual C# FileStream - encoding
Hi I receive files as byte array from a Web service along with the enconding for the same. I want to write the byte array into a file in the local system and I would like to write the file in the same encoding that I recieived from the service. I tried FileStream to write into the local file system, but I don't find any options to specify the encoding. Please let me know how to acheive this. I'm using .NET 1.1 Thanks in advance, Karthick. I would be receiving file byte array and encoding string as attributes in a complex type from the Webservice. These will be deserialized into an object with these two attributes. I need to convert this byte array into a physical file using the encod ...Show All
SQL Server How tocop stored procedures and functions from one database to another?
Hello, Is there a way to copy some selected or all stored procedures and functions from one database to another Thanks in advance. Best regards, hi orion, open sql server enterprise manager fro sql server 2000 or Sql server management studio for 2005. Right click the database clcik on all task then click on generate sql scripst. click "show all" choose the object that you want to script regards, joey ...Show All
Visual C++ How to read file as BYTE array into program?
I want to rea .cer files into program, but it looks I need read it as Byte array into program. Does anyone know how to do it, could you give me a sample if possible. Thanks a lot :-) Lejing wrote: I got the error: 1>ReadCert.cpp 1>d:\c++\cryptoapi\readcert\readcert\readcert.cpp(68) : error C2664: 'std::basic_istream<_Elem,_Traits>::read' : cannot convert parameter 1 from 'unsigned char *__w64 ' to 'char *' 1> with 1> [ 1> _Elem=char, 1> &nb ...Show All
Visual C++ Error spawning "Cmd.exe"
Hi! I wrote this piece of code because I want to use the Graphic Engine OGRE.... In a tutorial I found this piece of sample code: #include "ExampleApplication.h" class TutorialApplication : public ExampleApplication { protected : public : TutorialApplication() { } ~TutorialApplication() { } protected : void createScene( void ) { } }; #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 #define WIN32_LEAN_AND_MEAN #include "windows.h" INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT ) #else int main(int argc, char **argv) #endif { // Create application object TutorialApplication app; try { app. ...Show All
Visual C# USB Communication
Is there a way to control Voltage output of a USB Port. I'm trying to connect a custom made circuit through USB and send power on request to it. (Connecting a USB device automatically yield power to it or do you have to open the port first ) Hi, As far as I know, a regular USB port has four pins: two for 5V DC power (with a tolerance of 5%) and ground, and two for data. The maximum current available is 500mA. You will need a DC-DC converter to control the output voltage, I think that at a good electronic store you can get advice on how to do that. So it is a hardware issue. Thank you ...Show All
SQL Server incorrect syntax near '\'
hi! i'm using a linked server and currently executing this query: "insert into tbl_local ( fieldname )" + "select * from openquery( server\instance_remote , 'select fieldname from db_remote .dbo. tbl_remote' )" ; when i run this on a C# program it gives me the error of 'incorrect syntax near '\''. What should i do with this please help!! If double quotes was the answer in SQL, couldn't you use: "select * from openquery(\"SQL\\mysample\", 'select remote_fullname from remote_db.dbo.remote_table)" Just a thought ...Show All
Visual C++ Getting an error RC2188 (Visual Studio 2005, C++)
Hi, For some reason I'm getting an RC2188 error from the Resource Compiler when accessing the Resource View. There is no documentation for this error. Situation is, I have an RC2 file with my version info in, which is not to be edited by Visual Studio. When the message comes up, it has the path to the RC2 file with a (6) after it. Presumably this is the line number which is #error this file is not editable by Microsoft Visual C++ Anyone have any idea why this is now causing an error (has been working fine in this configuration for months) Thanks in advance Ian. Yeah, I did notice the message that had the changes in it. Turns out all I need to do is to delete the auto-generated ...Show All
SQL Server sp_refreshview produces an error
When I execu sp_refreshview, I got this error message on a valid view on SQL 2005 express edition. Msg 8197, Level 16, State 8, Procedure sp_refreshview, Line 1 Object 'vName' does not exist or is invalid for this operation. Next, I got a similar error on SQL 2005 for a valid view. Msg 8197, Level 16, State 8, Procedure sp_refreshview, Line 1 Object 'vNamehere' does not exist or is invalid for this operation. Is this Microsoft Bug This error message happens if the view you are trying to refresh is not present in the current database (meaning your execution context is different, say master db) or if the name refers to an object other than a view or if the view is schema ...Show All
SQL Server Database mail configuration
I have configured database mail using the wizard, but when I try to send a test message I receive the following error: The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 Exception Message: Cannot send mails to mail server. (Failure sending mail.) Is there some more configuration I must do I have enabled mail using the surface area configurator. Thanks I would try using xpsmtp mail and forget standard SQL mail...it is a pain in the rear. You can get it (yes it is free) here http://www.sqldev.net/xp/xpsmtp.htm It is easy to set up and use and has teriffic documentation. I know this is not an answer to your question but I hope this ...Show All
Smart Device Development Why does Emulator seem to drop the network connection after 1-2 minutes
I had spoken too soon to regards to the ability to ping my emulator instance. It works great in the first 1-2 minutes and then seems to drop out. I did install the virtual network driver as suggested yesterday and that gave me the initial capability. Is there a known issue with the CTP arm emulator that I don't know about Thanks in advance for any help :) Bob Hanson Sorry I can explain in more detail: First to preface, I had trouble trying to ping even my host computer from the emulator and vice versa. I had given information in the following: are you running the virtual machine network driver http://www.microsoft.com/downloads/details.aspx familyid=DC8332D6-565F-4A57-BE8C-1D4718D3AF65&displaylang=en so I loa ...Show All
Windows Forms minimize box
i can not find minimize box event how can i do this event when form minimize box click Just record the form's Bounds property in the Resize event when the WindowState is Normal. ...Show All
Visual Basic How to Calculate number of weekend days between the two dates?
If start date is 08/17/2006 (17th august) and end date is 08/29/2006 the total number of weekend days are 4 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim BeginDate As D ate = New Date (2006, 8, 16) Dim EndDate As Date = New Date (2006, 8, 28) MsgBox("Weekend days:" & CountWeekEnds(BeginDate, EndDate).ToString) End Sub Private Function CountWeekEnds( ByVal BeginDate As Date , ByVal EndDate As Date ) As Integer Dim Days As Integer Do While BeginDate < EndDate If BeginDate.DayOfWeek = DayOfWeek.Saturday OrElse BeginDate.DayOfWeek = Day ...Show All
Visual C++ Smartbridge Alerts
I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin Jonathan....thank you for your interest. The error message is: The procedure entry point GetProcessImageFileNameW could not be located in the dynamic link library. I have absolutely no idea what it means. Helen ...Show All
