kevzn's Q&A profile
Smart Device Development MessageBox On Exit
I am developing a dialog based application for PocketPC 2003 in Visual C++, and I would like it to pop up a warning box after the user dismisses the main dialog box if certain conditions are met. I tried putting the MessageBox command into the the code block that runs after the user presses "OK", but while this produces the message box properly, it also closes it immediately thereafter. I also tried making a new dialog class/resource, and doing a DoModal() function in the same code block, with no luck. Is there some way I can get a message box to show on exit (any time after the user presses OK on the main dialog) and remain on the screen until the user dismisses it I found a similar request in another thread, but it was based on ...Show All
SQL Server SQL 2005 Enterprise to 2005 Standard
We have a situation where we installed the Enterprise version of SQL Server 2005 on a server that is now in production and we had intended to install the standard edition (what we are licensed for). We have enterprise licenses for other servers so we have both types of media and it was a mistake that was made. I was wondering if there is a way to downgrade the version without uninstalling and reinstalling and having to backup and restore all the databases, jobs, SSIS packages, etc. Any suggestions or help would be much appreciated. Thanks, John Microsoft has historically been pretty generous when letting users use older versions of their software, even when it’s no longer available... this means t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can't deploy to Xbox 360 from GSE
All Apologies but this is a repeat post from 31-Jan buried inside another thread that appears to have died. I can't push code to my Xbox 360 from GSE. This issue has been reported by other people and their problems boil down to either having entered the 25-digit code incorrectly or, in one case, that their router didn't properly support UPnP. I've regenerated, accepted and reconfigured the key *many* times, making sure I don't have any 0's, 1's, 5's or 8's in the generated key to avoid confusion. I understand this is a one-time key so I'm not reusing an old key. I am most definitely getting the key right and choosing accept, not cancel. I have downloaded and installed Windows Media Connect (I'm running Windows ...Show All
.NET Development How do exes/dlls generated with the /platform:x switch interact?
Hi all: Background: I has developed a 32 bit application that running well on x86 machine by calling some 32 bits dll. I want to compile the same application as 64 bit and target to run on x64 machine. I am using Visual Stdio 2005 and programming in C++. I faced some run time errors (unable to find xxx.dll) while i run the same program in x64 platform. I expected this problem is causing by 64 bit application unable to load 32 bit dll, is this assumption true If yes what solution i can take to solve this problem is there anyway to convert 32 bit dll to 64 bit dll I don't have source code of the dll file. appreciated if anybody can help. Thanks -John Here is a blog entry I've w ...Show All
Visual Studio Team System How to use Sharepoint Site in Team foundation Server?
Hi All, How to add sharepoint site to Team foundation source control. Through front page i can check in and check out the document to sharepoint server. But i want to add the whole site content to TFS source control. Is it possible If any body there Please help me. Regards, Satya Hi, Sharepoint and Team Foundation Server don't interact in that way. When you check-in check-out files in sharepoint you are doing so in sharepoint's database, not the team foundation source control database. This is a separate version control system that is built into sharepoint and doesn't require TFS at all. -Dennis ...Show All
Windows Forms .NET Framework 2 adoption - Require it in windows update!?
Why is it so hard to find information about when .NET Framework 2 will be REQUIRED This is a HUGE concern for me in adopting .NET (and shouldn't it for most people who require their app to be downloaded by the general public ). It turns my nice 3.5mb app and blows it up to a 27mb download. This is ridiculous and is making me reconsidering developing in .NET. Why not then just build it in Java and support all OSes then if you require a framework to be downloaded Come on M$, require it in windows update, or forget about it. At least give us a yes or no answer if it will ever be required. I guess we are going to go into a flame war of some sort about this so lets just stick to the last question. .NE ...Show All
Visual Basic Send Keystrokes on the Server
I’m new to Visual Studio, I developed an application using Visual Studio 2005 (Visual Basic.NET) I embedded some flash files in my application and these flash files are refreshed and updated from an independent software(there is no .NET or COM references of this software to add to my project) so I built an update procedure using some keystrokes in my code to update and refresh the flash files. The application is sitting on the web server. To execute my procedure I need to login remotely to the server and execute it. I wrote another code for a timer so the timer will fire the procedure at a specific time to update the flash files The problem is that when I am not logged in to the server I can’t send keystrokes in ...Show All
Visual Basic Problem With A split function and a Regex Validator
I suck at programming and i have a few problems here. Hope some kind soul can save me Firrst, i have a textbox to allow users to input related hyperlinks. Therefore, users are to enter the links lik this in the textbox. http://www.yahoo.com,http://www.asp.net However, when some1 clicks on the link, it appears http://www.yahoo.com,http://www.asp.net in the address bar. Can some1 teach me how to seperate this 2 sites so that it appears http://www.yahoo.com or just http://www.asp.net in the address bar How to seperate them The text box is a single line text box. Secondly, the websites have to input with this format http://www.yahoo.com . can anyone tell me how to detect whether the user has input the website with the ...Show All
SQL Server Transmission queue ?
Hi There I have sent messages and they are all sitting in the transmission queue with a blank status, why is service broker not trying to send them They are no errors in the sql log. BOL says this is blank when it has not tried to send the message Service broker is definately activated in the database. How do i force sql server to send anything in the transmission que I have no idea what is wrong or where to check Thanx HI Remus Thanx for all the help, that makes sense about the transmission queue. I have confirmed there is no duplicate service on the target instance, the error on the target side in profiler is that the message was not delievered because the security context could not ...Show All
Visual Studio 2008 (Pre-release) Creating a Derived Type in the Designer
I am attempting to re-create my previous VideoGames database using the designer. I want to see if I can do everything I need without tweaking the underlying XML once. So far its working with NavigationProperties. However, either its been too long since I've used this stuff, or the designer is limited. I am trying to create a derived type called WiiGames that derives from VideoGames, that uses a condition where the VideoGame.Type.ID is 1 (Wii). Anyone have a walkthrough on how to do this in the designer and/or how to start using the designer and finish using XML Here is the problem with the mapping. Let us first understand the mapping, the VideoGames table is being mapped to the VideoGames entity set and the VideoGamesType table i ...Show All
.NET Development Net framework GONE!!
I somehow managed to uninstall my .net framework:v1.1.4322. I can't use my printer/scanner at all now. Does anyone know how I re-install this or fix the problem I feel so helpless! Elisha Infact it should not interfere with Printers and other hardware you are refering to. Any how if you think its due to .Net then un install it and see do they start working again. And then install .Net Framework again and see what Happens next.. Is everything Still normal Best Regards, ...Show All
Software Development for Windows Vista Conceptual problem - Force developer to implement a method
Dear all, I am building my own Activity, a very simple one. I would like to have something like this: protected override ActivityExecutionStatus Execute(ActivityExecutionContext context) { string[] res = a(); return ActivityExecutionStatus.Closed; } My a() function is define somewhere in my activity but is forced to be implemented by someone who uses my activity. In workflow he will have to write something like: string[] a() { return new string[] {"r1", "r2"}; } And of course link to method should be settable in activity properties. I tried to play with DependencyProperty and my own delegate, nut no way to make it works. Thanks a lot. Alex I also suggest a cleaner approach (with the validator) but wi ...Show All
.NET Development Going from string-> datatable, or even string->IDataReader?
Hi, I have some data that is coming into me from an Inbound TCP connection. The data is already perfectly layed out as a datatable - it is literally a pipe-delimited table, with columns and rows. Rows are deliminated by newlines, and columns delimited by pipe. Anyway, once I have this data as an array of byte(), or one big string... How can I quickly insert this into a SQL table using the SqlBulkCopy object It seems that SqlBulkCopy.WriteToServer() only accepts either a datatable or an IDataReader.... My question is, do I really *have* to loop through my string/byte array row for row and convert this to a datatable There's no way to easily shove the string/byte array into the WriteToServer() function (or into a DataTable/IDataRead ...Show All
Visual Basic Custom Template
How do I make a project template in Visual Basic Express Hi, You could BUT there is no SAVE AS for a whole project. So i'd either; a) Forget it or b) Create a project named "TEMPLATE" then every time you want to start a project with this template, locate that projects folder and COPY THE WHOLE FOLDER to another NEW folder. The trouble is because of the inner workings of VB express and Visual Studio, if you rename all the files in the folder from template.whatever to myNewFileName.whatever i think the main program screen ( or i. d. e. ) still "sees" some of the file names as template.etc because of code within the files themselves. There is no easy answer to this and i ...Show All
Visual Studio One Report - Two DataSources
Can I have on one report more than one DataSource I've the following code: con4.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & DbSource & ";" sSQL4 = "SELECT * FROM Observacoes WHERE [Data] LIKE '" & DataRelatorio & "'" da4 = New OleDb.OleDbDataAdapter(sSQL4, con4) ds4.Clear() da4.Fill(ds4, "Observacoes" ) relatorio.Subreports( "rptFichaProducaoColagemObservacoes.rpt" ).SetDataSource(ds4) But I need to filter the information from more than one table of my database. How can I do that Thanks, Joao Pinto http://senhorpires.blogspot.com/ Try t ...Show All
