Kevin ORiordan's Q&A profile
Visual Studio Express Editions VC++2005 Express Edition problem
I have a serious issue with my registered and perfectly legitimate copy of Visual C++ 2005 Express Edition (I got it from MSDN). When I try to build a project, I find the build always fails because the manifest cannot be embedded. Is this a bug Can this be resolved Try copying c:\windows\system32\cmd.exe to c:\program files\microsoft visual studio 8\common7\tools\bin ...Show All
Visual C# Need help with enum and color assignment
Hi, I need help with some enum and color assignment. This is what I need to do. I have an enum like: public enum statusFlag { Unknown = 0, Easy = 1, Medium = 2, Hard = 4, ExtremlyHard = 8 } From xml: (not sure how this is repesented) Unknown = Black Easy = Green Medium = Yellow Hard = Orange ExtremelyHard = Red Now, I have a set of color for each of the different status flags. These colors are user definable. Possibly will reside in an xml file. I am wondering how am I doing to do this requirement in C# assuming the color matching color of each status flag will be coming from an xml file (probably, app.config file) So, depends on the status variable, I need to pass back the equivalent color. ie. Is is probably going to ...Show All
SQL Server Cannot Connect Remotely to HTTP EndPoint
Dear all, I appologise that incarnations of this topic have been posted several times on this forum, however I cannot find a scenario that is the same as my own so I've resorted to starting a new thread. I can successfully create and connect remotely to an HTTP EndPoint on my Windows 2003 machine using Integrated security, the administrator username and password via my static IP address. I have read that Windows XP SP2 supports HTTP EndPoints, and it would be much more convenient for me to be able to create EndPoints in XP, and connect remotely. I have created the endpoint like so... CREATE ENDPOINT sql_tvr10 STATE = STARTED AS HTTP( PATH = '/sql/tvr10', AUTHENTICATION = (INTEGRATED), PORTS = (CLEAR)) FOR SOAP ( WEBMETHOD 'Stor ...Show All
Architecture Designing real time database for financial organization
Hello Guys I know this is basic and different people do that in different ways according to their needs; but I would like to know about the best practices to design a highly scalable real time enterprise databases for financial institutions. When are we making transaction how the record is kept and tables are designed This is must not be basic ER solutions. Some experts thinks this must be blend of Transactional Database and analytical database (OLTP and OLAP). Whatever it it, the database must be designed to ensure a highly scalable,high performance and high throughput one. Here is a sceniario. When millions of people are making transactions for their day-to-day saving accounts how the records are kept on the tables and ...Show All
Visual Basic Culture date format and system dat format conflicting
my VB.net 2005 Application is My .Application.ChangeCulture( "en-GB" ) the problem is, my OS dateformat may be will not be matching my application culture. e.g. 7 april 2007 at my application = 2 July at my OS my prblem is: when I send 07-02-2007 to my database it will save depends on my OS format then when I retrieve the value it will be 02-07-2007, it changed from april to july How do you "send" the date to the database Are you passing it as a string If so, you need to make sure that you use the same culture as the database. Best regards, Johan Stenberg ...Show All
Visual C++ Weird problem with _wopen() : errno = 2, file or directory not found.
Hi all, I am having a weird problem with _wopen() function. I use _wopen() to open a text file A. The function works fine unless file B was created (and saved) in the same folder with file A. The errno returned from _wopen() = 2, which means file or directory not file. But file A is there all time. And again, it only happens if file B is just created and saved prior to using the _wopen() to open file A. If file B is already existed - which means that the code will detected its existence and will not create/save file B, and then _wopen would open the file A just fine. Is there any chance that because adding a new file to the same folder causing the directory listing order changed, which causes _wopen() ...Show All
Visual Basic USB password script
Im about to create a Script or any that i can put a password to my USB without any software to be used.Or if any code an how in VB please help on how!!! thanks im still not confident that even giving this response will actually achieve what you really want - to completely block access to your USB drive even within Windows Explorer until they enter the correct credentials. However I hope this helps you either way :-) you need to create an autorun.inf file and specify the correct commands to autolaunch your app. So if I had an application called "MicrosoftRules.exe" then typically the autorun.inf file woul ...Show All
SQL Server Log files taking up a lot of disk space
Hello, I ran into an issue with all these logs made by default. Disk space crunch leading to performance degradation. OK, I moved the log dir outside the default app volume (Script/restart) onto a 100GB drive I use for the SQL transactions logs, but. Analysis Services accumulated 20GB of logs in 2-3 days, did not clean-up the old stuff and led to disk space alerts and applications performance issues. All this with out of the box settings. The server has in the 30 to 60 connections alive around the clock with each of these connections performing queries every 2-3 seconds or so. I also use the query log function for optimisation purposes but for that one I log to table on a specific drive. I run Analysis services 64 bits ...Show All
SQL Server detecting & deleting duplicates in batch vs proc
I know how to detect & delete dups/or >dups in test with a select clause, this works fine in a small table, but if the table has a million rows say, it sounds like a proc would be faster: my question is: How do I display those rows in a proc for detecting what the problem is. The print stmt. doesn't seem to work and I wondered if I had to go through the process of building an output stream. The proc creates okay but I'm stuck after that part. thx Kat -- very rough code below SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO create proc dupcount @count int as set nocount on select categoryID, CategoryName, Count(*) As Dups from Categories group by Categoryid, Cate ...Show All
Windows Forms minimize box
i can not find minimize box event how can i do this event when form minimize box click any way to do something before the minimize event occurs looking to create functionality for a 1.1 app similar to the restorebounds.location & size found in 2.0 ...Show All
Windows Live Developer Forums Building a bot for messenger
Hi I hope that some can help me. I would like to build a Bot for messenger, I have a web site that I would like t allow users using messenger to query certain elements as well as receive notifications on items. What I would like to know is if anyone can point me in the right direction, to find information about building a bot, and any demos, sdks etc that I could look at, make use of. Thanks Vaughan How about this and this ...Show All
Smart Device Development CE 5.0 Emulator in VS 2005
Hi, Iam working on an application which runs on CE 5.0. I have installed the Emulator for CE 5.0 which i downloaded from the net. But iam not able to run the App in the emulator from VS 2005. I have installed Smartphone and Pocket PC SDK and bcoz of that iam able to view emulator in my VS 2005. Pl Let me know how to Access the CE 5.0 Emulator from Vs 2005. Thanks in advance Biju S Melayil Hi Micheal Thanks for the reply. I tried to install the BSP Emulator but its not reflected in my Catalog Tree view. It has bSP folder in which it has AMD Feode.x86, CEPC: x86 and Emulatore: x86. iam using the Evaluation copy of PB Regards Biju S Melayil ...Show All
.NET Development BinaryWriter - Dynamic cast
Hi, I am new to C# and I don't know how to cast dynamically an object to a specific type . I have the object and its type (as a Type object). For example, I read some data from a query (which has been created dynamically) and get a list of objects and theirs types (string, Int64, DateTime...). Now I need to put them into a BinaryWrite. Is there any way of dynamically define which Write method to call I don't want to have a BIG switch to test each possible Type. I would like to have something similar to that: Object obj = new Object(); \\ it comes from a datareader... let's assume it is a string objBinaryWriter.Write(obj as obj.GetType()); Thanks in advance objBinaryWriter.Write(obj as obj.GetType()); ...Show All
Windows Live Developer Forums cannot deliver messages to MSN bots
i've been hosting 2 bots with the Incesoft bot provider for the last 2 months. after the Messenger service problems (on Wednesday ), i have not been able to reliably host the bots ( MobileRecordBot@hotmail.com and TextAdventureBot@hotmail.com ). the message i get when trying to communicate is : "The following message could not be delivered to all recipients" i've been trying the last 3 nights to get them working again, and have run out of ideas. the bot program seems to be connecting fine to Incesoft's servers, and using the Incesoft admin tools seems to log the bots in and out properly. also, a small # of sessions will work properly when i leave them running overnight. my own user experience is that i can start a session with ...Show All
.NET Development Searching table
Hi there, I am new to .net and VB, but have been doing some development. I have a simple question I am using a select statement to retrive some ID's from a table stored in access 2003, and record them in a dataset & display them using datagrid now i want to search all of those IDs recorded , one by one and retrive some more records from that same table in access using select statement with that ID...any idea how this can be possible, best reguards sl5 And what's the problem What do you want to know How to create an SQL query with "where ID=@ID" clause How to enumerate your records Please explain a bit more and we will try to help you. ...Show All
