jasse_91's Q&A profile
Windows Forms Signing Project Problems
OK, I have created a key file that I use to sign my project before building it with ClickOnce. So far this has been working fine for me. I have been able to publish new versions of my software and copies in the field will update when I upload the new version. However, recently I formatted my PC and rebuilt it. I reinstalled Visual Studio 8 and then opened my project. At which point I was presented with an Import Key File dialog box asking me for the password for my key file I use to sign the project. I assume it is doing this as the key file is not registered on my PC since I formatted it. This isn't a problem as I just enter the password I used and hit OK. My project now loads. Now when I click to publish my project, I am presented ...Show All
SQL Server Sql server install problem
I am planning to work with replication topic and i have a problem with it. I have installed a SQL server 2005 standard edition.When i try creating a new publication it comes out with this error "Microsoft SQL Server Management Studio is unable to access replication components because replication is not installed on this instance of sql server. for information about installing replication,see installing replication in sql server books online Additional information: Execute permission denied on object 'sp_MS_replication_installed",database'master',owner'dbo'. (Microsoft SQL server ,Error:229) I have tried inserting the CD and reinstalling it.but didnt work. When i tried to Remove sql server from control panel ...Show All
Visual Studio Tools for Office Problem deploying Excel 2003 add-in
Hello, I successfully created an Excel 2003 add-in using VSTO SE on VS2k5. When I run the app in debug mode, the add-in displays properly within Excel. When I run the installer, the add-in does not appear (even on the same machine as the development environment. I ran the client troubleshooter tool and everything seems to be there. For some reason I can only get the add-in to activate when run in vs2k5 debug mode. Any help would be appreciated Thanks, Richard Richard, The value of 3 indicates that the add-in should be loaded at the start of the host application (Excel). First You need to remove the present entries etc which is easiest done by right clicking on the project name in the ...Show All
Visual Studio Express Editions How do you delete icons from Resources?
See screenshot http://i15.tinypic.com/2uojm7n.png to see what I am talking about. One of the icons is corrupt and causing a ...tmp' is not a valid Win32 resource file error when I attempt to publish. I just want to delete the bad icon. Nevermind. I was able to delete the icon in the Solution Explorer window. However, I now get the following warning when publishing: Unable to apply publish properties for item "myicon.ico". ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Really bad sound quality with echo etc
I'm remaking an old kids game in Game Studio Express and C# and using my old sounds that are sampled 11025 and in mono. The sounds are ofcourse not so good from the beginning but when played in GoldWave they are ok. However, when used for creating a soundbank etc with XACT and played from my program it sounds really horrible. A lot of echos and the sound is like comming from the inside of a very small bathroom. I have tried to resample and changed some settings but it is still the same. Are there any demands for the wave-file uses as sources for XACT Are there any settings for the sounds that I have missed Any suggestions for how to resample or make the sound quality as in the original files Hard to ...Show All
Smart Device Development Dime Attachment ID property fails to parse
Hello I am using VS2005 and Opennetcf liabrarys to consume webservices the problem is only when i create a dimeattachment object and try setting its ID property i get a System.URIexception. There is not example for opennetcf v2.0 using dime attachment this things works fine with VS2003 and OpennetCFv1.0 Following is the code Dim da As New DimeAttachment() da.Id = Guid.NewGuid.ToString() -> Fails Here da.Stream = s da.Type = dimetype da.TypeFormat = TypeFormatEnum.MediaType Following is the error code System.UriFormatException: {"Invalid URI: The format of the URI could not be determined."} InnerException: Nothing Message: "Invalid URI: The format of the URI could not be determined. ...Show All
Visual Basic Express to Pro
Is there a part number to use when going from VB Express to VB Pro 2005 There are several of these, a little confusing, I just want to make sure I get the right one. If your talking VB Pro - I'm not sure about Part Numbers http://msdn2.microsoft.com/en-us/library/b4z62wxz.aspx Shows the features and you can make sure that you purchase the edition with the features you want. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is Boo a viable option for Scripting for both PC and XBox360?
I'm just wondering if anyone has tried getting Boo to work for scripting on the XBox360, or is there some feature that Boo takes advantage of on the PC that isn't available on the console I've been reading that IronPython isn't an option, and LuaInterface wouldn't work either, since P/Invoke doesn't seem to be supported for security reasons. Can anyone shed some light It would be greatly appreciated. Thanks, Kevin Boo's core is P/Invoke free (but you can put a P/Invoke in your Boo-based library if you want). Boo is System.Reflection.* free as long as you do not use duck-typing. ...Show All
Windows Forms Drawing on[/underneath!] Controls
Is it possible to draw a line as shown in the pic on a single form The line in the image is drawn on a second form which is transparent so form1 is visible. As indicated, it turns on the WS_EX_TRANSPARENT window style. With this style set, Windows ensures that all windows "below" the window get painted first and the transparent window last. ...Show All
Visual Studio 2008 (Pre-release) snap to device pixel for DrawingContext
For performance reasons, I am using DrawingContext / OnRender. However, I would like to snap to the device pixel. Is there a way to do it at this level thanks Hmmm, Unfortunately, the only hints I can give you are the one I found while experimenting... Be advised that I might be wrong; however, I did obtain the result I was aiming for. I was trying to draw a "pixel snapped" line using dc.DrawLive(), the line was however sometimes blurry... I tried creating a GuidelineSet with a GuidelinesX set to the same coordinate where I was drawing the line... This had the unfortunate result of blurring ALL my lines (even those which were not blurred before)... Investigating, I found out that ...Show All
Visual C++ I want to add/remove ES_PASSWORD(CEdit) style, dynamically.
Hi all, How can I change style ES_PASSWORD of CEdit, dynamically ModifyStyle() didn't work. I just want to add/remove this style dynamically. Thanks. :) Purusothaman A Hi, We can use SetPasswordChar function to change the password style dynamically. m_EditBox.SetPasswordChar(_T('$')); - will set '$' as password char and m_EditBox.SetPasswordChar(0) ; - will remove the password style. The above function works fine with both VS2003 and VS2005. Thanx & Regards, Ch.T.Gopi Kumar. ...Show All
Visual C# Switch Statement vs. If-else if-else
Hi Guys! Will I get better performance if I use a switch statement instead of If, else if and else statements ~Matt ahmedilyas wrote: the case statement will be faster than an if else statement. That turns out not always to be the case (if you'll pardon the pun). First, lets be clear that there are many uncertainties to be considered - the IL generated from the statement(s) in question, the native opcodes the IL is translated into, the capabilities of the hardware those opcodes are executing upon and so forth. Even when we know the answer to some of these questions today, our assumptions might be invalidated by future changes in technologies such as branch prediction, instruction pipe ...Show All
Visual Studio 2008 (Pre-release) Calling service methods directly
If I have: [ServiceContract] public interface ITest { [OperationContract] [TransactionFlow(TransactionFlowOption.Allowed)] void Method1(); [OperationContract] [TransactionFlow(TransactionFlowOption.NotAllowed)] void Method2(); } internal class Test : ITest { [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)] void Method1() { // do db stuff here, then call Method2() Method2(); // do db stuff here // exception thrown here } [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)] void Method2() { // do db stuff here } } Will the database operations done inside Method2() remain committed even though the database operations ...Show All
Software Development for Windows Vista How to prevent Explorer to open the "Prepare this disc" dialog
Hello, I'm working on a tool to mount arbitrary sessions on a multi session disc. It works fine on W2k and XP. On Vista, it also works fine, as long I issue my mount commands via a command line application. Using a shell extension on Vista with a recorder device, quite frequently causes Explorer to open the "Prepare this disc" dialog. Clicking Next and confirming disc preparation usually damages the media. Question: How to avoid Explorer from opening this dialog Hello Garret, thanks for your reply. I tested the IOCTL, but without success: The format dialog still appears quite frequent. DeviceIoControl(STORAGE_MCN_CONTROL) returns 1. It seems to be a timing issue: My sequence of IOCTLs to execute ...Show All
Visual C# How do I define a class to be accessible from other classes.
Hello I have a class called CHardware. I would like to define this class once as: CHardware hardware = new Hardware(); Then be able to access hardware from any where in my program. Such as from within other classes. How do I do that. David You should search the web for Object Oriented Programming. But anyway, I suspect you have a class namespace MyApplication.Objects public class Hardware { // default constructor public Hardware() { } //properties //methods } From another class if this class is in the same solution at the top of your code indicate using MyApplication.Objects now you can say: Hardware myHardware = new Hard ...Show All
