Fille's Q&A profile
Smart Device Development Install CAB (+INF)
How can i run myself after install (CAB) Create setup DLL which does that and add it to your CAB. See MSDN for setup DLL information and SDK for a sample setup DLL code. ...Show All
SQL Server Standard Edition 20 x slower than Developer edition?
Have created a database on 2 separate machines, the developer edition server performs a test insert of 100000 records in 33 seconds, the standard edition server performs the same operation in 10 minutes 50 seconds. Have checked the properties of both sql server registration and database and the only significant differences are in the SS2005 developer edition and SS2005 standard editions. The databases the tests were performed on were direct restores of the same database. The slower server has 4 processors, 2 on developer. As a control, I have performed the same test on another server with Developer edition and this took 50 secs. I am being told that the difference in the test figures are down to the developer edition being fundamenta ...Show All
Visual Studio Tools for Office Word Addin - file path is not getting highlighted.
I have developed an addin in C# .Net 2003 and using framework 1.1. After installing this custom addin I am facing a problem while inserting the path of the file in a word document. Steps to reproduce the issue. 1. Put your cursor at the point in the document where you'd like the path and filename to appear (header or footer, etc.) 2. Click the Insert menu 3. Choose Field... 4. Select Document Information from the Categories list 5. Select FileName from the Field Names list 6. Click the Options button 7. Select the Field Specific Switches tab 8. Select the option for \p 9. Click the Add to Field button 10. Click OK 11. Click OK After inserting path it is not highlighted in grey color. Moreover this problem is not coming on ...Show All
SQL Server Set c# parameter properties
Hi all, Is it possible when creating a stored procedure through visual studio using a sql server 2005 project, to set the sizes of the parameters that are specified. For example: public partial class test { [Microsoft.SqlServer.Server .SqlProcedure ] public static void addRecord( string name, string details) { ................. some code ................. } } Would it be possible to set the size of the parameter 'details' to nvarchar(max) and 'name' to nvarchar(50) or something along those lines. The problem at the moment is that when this project is deployed both of the parameters are set to 4000 characters and sometimes the details parameter are greater than 4000 characters and it is being trun ...Show All
Visual Basic Read a text file?
hello all! This seems easy enough. But can't seem to grab the concept of reading a text file. First of all, in all the samples I found, I don't understand where you tell it where your file is. Maybe I'm looking in the wrong place. Anyway, I just want to be able to read a simple text file, display the contents of that file in a message box. How can I do this TIA!! Rudy If your trying to load an Simple text file contents into a msgbox This uses an openfiledialog to allow selecting of the file and uses the My.Computer.Filesystem.ReadAllText to read the file contents. The is a companion method My.Computer.Filesystem.WriteAllText hat can be used to write th ...Show All
Windows Forms How can we add advance search/filter capabilities to a DataGridView???
Hi! I would like to use an Advanced search dialog in order to provide the final user with advance searching capabilities in my DataGridView...For example to select only those customers names (from the Customer column) that live in a certain city (from the city column)... The BindingSource.Filter method doesn't support this capability...Any help Thanks in advance... Hi: I'm trying to implement this approach and it's almost working. The problem that I'm having is that when I set the dataSource on my dataGridView to be the result set, I get an endless stream of exceptions telling me that one column or another has a value of dbNull and that it can't be cast to a string. I don't quite understand this, because t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help What do I need to download so I can connect to my 360 for XNA?
What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect You need to go to your 360, go on XBLMarketplace, go to Games, New Downloads, and find XNA Creators Club. There you'll find both the Download you need (8MB) and the Memberships, prices vary depending on where you live. ...Show All
Windows Forms Directory chooser
I've a new question today, which should be quite simple for people who know how. How do i get a folder version of the openfiledialog that is so useful i want to select a folder to be set as default in one of my small programs, but all i can do atm is use openfiledialog to save a file, get the address, then delete the file, which is very long winded, and doesn't look good for the user. how can i get a directory viewer that lets the user just select a directory Thanks for your help. It'd be useful if there was a site that actually showed all of the really useful bits of code that i'm likely to need, because I'm asking on here a lot, and don't want to be a burden. I think your after the folderdialogbrowser wh ...Show All
Visual Studio Express Editions safe item root name
HI In my installer class theres a line that i dont understand $safeitemrootname$ I know im sposed to put some code in its place but im not sure what it is refering to can someone explain please Thx Hi, what type of project do you create an installer for Where in the installer class is that placeholder. -- SvenC ...Show All
SQL Server Issue of Blank Emails , When checking for free disk space and mailing DBA
Hello I have got a script which checks the percentage of free space on the drivers of the servers and mails the DBA when it falls below a certain percentage , which can be set according to our requirements. But I am getting blank emails even when , there is no issue of low free space. Please help me out. The code , 1st part of it is: use master go SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO create PROCEDURE usp_diskspace @Percentagefree int, @error2 varchar(8000) OUTPUT AS SET NOCOUNT ON DECLARE @hr int, @fso int, @drive char(1), @odrive int, @TotalSize varchar(20), @MB bigint , @COUNT int, @Maxcount int,@error varchar(700), @errordrive char(1),@errortotalspace varchar(20), @errorfreespace varchar(20), @free int, @date varchar(1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Playing (avi) video's in XNA?
I would like to play a little into-video before my game starts, its simple and small and it's an avi (though I could easily change its format), how do I play it with XNA MDX used to have AudioVideo playback, but I can't find that in XNA. my thought would be, if you want it to work on xbox, you're going to have to write your own content importer for the avi file itself. then manually extract each frame of the avi and sync up your framerate to match the framerate of the avi, playing one frame of avi per game frame. that's the abstract thought i have about it... though in practice, i haven't the foggiest! ...Show All
Visual Studio 2008 (Pre-release) What limit my connections?
I set the maxConnections of my netTcpBinding to 1000, and the behaviorConfiguration of my service is like this: <BEHAVIOR name="SampleServiceBehavior"> <SERVICETHROTTLING maxConcurrentInstances="1000" maxConcurrentSessions="1000" maxConcurrentCalls="1000" /> </BEHAVIOR> In my client, I send 200 requests to my service in 200 threads, In every thread, I create a new proxy to connect to my service. In my service, I make the thread sleep 10 seconds before return the response. for I want to simulate multiple clients call the service to do a long time work in concurrency. But I found that my client can't receive all the responses. And there were some timeout excep ...Show All
Visual Studio 2008 (Pre-release) What is the status of MC++ in Orcas?
With the delay of mixed types and/or support of native PODs in managed classes under C++/CLI moved to the future, how long is MC++ going to hang around I heard rumors that it will be deprecated in Orcas, which would be fine as long as this means it is not being removed. What is the official stance on this …for Orcas and beyond Thanks much, James. If Visual Studio dropped support for C++, they would lose over 50% of their developers. It isn't going to happen. Although, Microsoft has tried to force dumber things..... ...Show All
Visual Studio Express Editions dynamic dropdownlist boxes
I have recently started working with VWD 2005 EE and am trying to build a little application for our help desk that lets managers submit a web form to capture and send information to our help desk. One of the tasks I am trying to get to work is that I want users to select from a dropdownlist a computer brand, such as Dell, HP, Compaq, ect, and once they do that, a second dropdownlist will populate with the appropriate selection for that brand such as if a user selects Dell then the next dropdownlist will query the database and fetch all the results like Latitude, Precision, ect and then a 3rd dropdownlist will let the user select the correct model number such as M90, D800 ect. I already built my database and have tables for vendor, model n ...Show All
.NET Development [otp] SharperCV Compliances.
We are a group of 3 students making a project Hand Gesture (Interpretation) Recognition for physically impaired .We (myself and group members) are accustomed to VB and C#,fortunately we came across SharperCV,though many of the posts in other topics helped us a lot,like,how to install and work with it. But we need to know how to perform image subtraction using it,there is some paprameter conflict,while we use it in VB.The problem is we got frames from the video,now in order to detect movements of hand,we thought of subtracting the corresponding frames,then deciding what action is to be taken...Please can anyone help us how to perform it in Visual Studio 2005(SharperCV's documentation does not provide that much help),I mean some other eff ...Show All
