billqu's Q&A profile
Visual Studio reporting services configuration
Hi, I successfully upgraded from SQL sever 2005 express to SQL 2005 express with advanced services. Problem is, when try to start reporting services from control panel, then services, i get the following message. " The SQL server reporting services(SQLEXPRESS) on local computer started and and then stoped. some services stop automatically if they have no work to do, for example the perfomance logs and alerts service ." Any help is appreciated i am having the same error and checked the log file it says.. and the interesting thing is the this service not running under windows domain account not 'localsystem' Service cannot be started. Microsoft.ReportingServices.Diagnostics.Utilities.UnknownUserNameException ...Show All
Visual Basic Saved and used again?
How do i do this I want to play the file selected by the user from the list box. Which is saved to My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData. sUserSelected not sure if this is right or not. The way I have it is not working, I've also tried using & instead of + but no luck. Dim sUserSelected as String Player.URL = "C:\" + sUserSelected + "\ThemeTune.mp3" This works OK Player.URL = "C:\ FolderName \ThemeTune.mp3" pbPicture.Image = Image.FromFile( String .Format( "C:\ FolderName \" & "Pic" & intNumber & ".gif" )) What I want is for the user to pick the name of a folder from the lstTheme ListBox, then have i ...Show All
Visual Studio Tools for Office Creating Word 2007 doc and template projects with VSTO SE
I am trying to complete the setup for a machine I am using for Word 2007 and VSTO SE development. I did a complete reinstall of Visual Studio and VSTO after first removing VSTO CTP v3. (This is in leiu of re-imaging the machine, as the VSTO SE download details suggest might be necessary after running the CTP version). All is well, except in order to complete the full/original VSTO installation, I had to temporarily put Word 2003 SP1 on the machine. So I installed Word 2003 SP1 on my Word 2007 machine, then installed VSTO, then removed Word 2003, and finally installed VSTO SE. VSTO SE runs fine and gives me the new Word 2007 Add-in options as expected. However, the other options for launching a new Word document and Word templa ...Show All
Visual C# Check if .dll's are obfuscated!
Hi all! Our company currently obfuscate our .dlls before shipping to our clients. The QA Team must verify if each .dll are obfuscated before shipping to the client. Right now, the only to achieve this, is by loading the .dll file inside the Reflector.exe tool. I would like to create a tool that you simply browse for a particular folder(the one were all the .dlls are) and "scan" them. I'd loop inside the giving foler and sub folders for files with the .dll extension. Then scan that .dll file. Is there an easy way to do this without the use of the Reflector.exe tool How would/could I check for obfuscated .dlls code wise Thanks in advance! Sincerely Vince Hi Vince, As far as I ...Show All
Visual Studio Reorganize solution structure programmatically
hi there, how is it possible to reorganize the structure of an existing solution. How can I reorganize the hierarchy of an existing solution by code. Is it possible to add a parent project to an existing project programmatically I already checked the NestedProject sample but my idea is to add a new project at a certain hierarchy node. I this possible cheers, bkohler Hi, The problem that I see here is that you have a (custom) project with a subproject. Notice that most projects created out of the box (not custom) by VS don't have or support subprojects. I only remember that with the Enterprise Projects of VS.NET 2002/2003. But that said, I think ...Show All
Visual C# Context menu for nonform application
How can I have context menu in an applicationb where I don't have any form What about the localization of context menu If you don't have any form then where the context menu shows up ! As for localization you can do the following if you use ContextMenuStrip and not ContextMenu. 1) create a class derived from ContextMenuStrip 2) open the designer for this class (it's a component so it has a component designer) 3) now you can go to properties and set the Items in much the same way as you do in a form ...Show All
SQL Server Collection cannot be modified when TextMode has been set (Microsoft.SqlServer.Smo)
Hi - I'm trying to generate a script for User Defined Functions and I get this error: Generate Script Progress - Determining objects in database 'MyDBName' that will be scripted. (Success) Messages * Prefetch objects failed for Database 'MyDBName' . (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Prefetch+objects+Database&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: Collection cannot be modified when TextMode has been set (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+ ...Show All
Visual Studio Team System Saving attachments
To save an attachment you have to open it and then save it from within the application that has opened the attachment. In my experiences, IExplorer is always opening the attachments and sometimes failes to do so. For example: opening xml files for which the specified schema can not be found. Also for other file types like .jpg I rather want to save the files than open them in IE. I tried to change the file type associations as explained in http://support.microsoft.com/kb/905703/en-us , but no luck. (What's more, for file types for which I changed the default open-application, the Advanced button is missing in the 'Details for .. extension' dialog. Only after pressing the 'Restore' button I can select 'Advanced' and then check/uncheck 'Conf ...Show All
Visual C# Passing Message from unmanaged dll to C# windows service
Hi all, I have an unmanaged dll written in VC++ 6.0. I want to pass my custom messages from dll to C# application. C# application should retrieve this message from its message queue. My problem is that i want to run that C# application as Windows Service without UI and i need a mechanism of Message loop without UI so that i can receive the messages posted by the dll inside that service. Thanx. Rashid Mahmood Michael: Your idea in using a COM server in the C# service is a good idea. One problem I found in .NET Framework 2.0 is that the "Register for COM Interop" in the project build settings is greyed out or disabled. To get around this peculiar issue, I manually register the COM components with " ...Show All
Software Development for Windows Vista How are tokens w/o mandatory integrity SID treated?
I have a question related to Mandatory Integrity Control (MIC). Usually all user tokens contain an additional SID in the groups list, which is one of the MIC SIDs (S-1-64-x) denoting the integrity level. Tests under RC2 (Build 5744) with tokens missing the MIC SID don't show any special behaviour. A process running with an administrator's token w/o MIC SID seems to have all permissions which an administrator usually has. In terms of MIC the result looks like the token is treated as having "high" integrity (S-1-64-12288). The question is this: What happens in the kernel, if the token does not contain one of these MIC SIDs How is that token treated Does it automatically belong to one ...Show All
Visual Studio how to move VSS Database to a different server which is integrated with Interdev project
I have a Microsoft Visual Interdev project integrated with VSS using the built-in VSS feature provided in Microsoft Visual Interdev (Project menu a Source Control a Add to source control) Currently both the Web server and the VSS database are in the same server (lets call it as Server-A). And all my check-in and check-outs are done via Microsoft Visual Interdev project without having to open the Visual SourceSafe Now I want to move the VSS Database to a different server (lets call this as Server-B) while leaving Server-A as the web server. How I can do this without breaking the VSS links between the Microsoft Visual Interdev project and its VSS database Note: the version of Microsoft Visual Interdev ...Show All
Visual Basic Setting MSSQL Entry as Variable in VB.NET
What I'm trying to do is select data out of a single cell in a MSSQL table using the SQL statement "SELECT JobData2 FROM tblJobs Where JobID=1" which will return a string and set that string as a variable within my VB.NET program the purpose of this is so that when all the MSSQL data is dumped and uploaded it will get uploaded in /home/variable/data/ on the FTP server anywhere heres the majority of the code any help would be much appreciated. Public Sub Work() 'GLOBAL VARIABLES FOR DATABASE DUMP AND FTP UPLOAD Dim dbserver As String = dbserverbox.Text Dim dbusername As String = dbusernamebox.Text Dim dbpassword As String = dbpasswordbox.Text Dim dbpath As String = dbpathbox.Text Dim ftpserver As String = f ...Show All
Visual Studio Team System Area path security question
Suppose I have 2 nodes in my Area definition: Node1 en Node2 Area |--- Node1 |--- Node2 Members of groupA have the permission "Edit work items in this node" set to "allow" for the root area "Area" Members of groupA have the permission "Edit work items in this node" set to "Allow" for Node1. Members of groupB have the permission "Edit work items in this node" set to "Allow" for Node2. GroupB is NOT listed in the list of users and groups for the root area "Area" security settings. GroupB is NOT a member of any group that has permissions in the root area "Area". I was suprised that users of groupB were able to create workitems at all when using ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Xbox360 to PC Comparison
Does anyone have an idea what performance I can expect from the Xbox360, I am writing my game purely for the console because I dont want to have to write a load of code for dealing with different spec machines (throttling the number of creatures, etc) and different types of input. The game I am porting is this (original is in vb.net and MDX) - http://www.entombed.co.uk I have managed to port the models, parrallax occulsion mapping shader and per pixel lighting. But I dont know how the Xbox360 is going to perform. My PC is this spec ( cr@p ish) - Intel P4 2.4 (400 FSB) ATI X800 XT PE 768 MB AGP x4 I am receiving an excellent frame rate from my PC and wondered what I should expect from the console, will it be twice as quick or mo ...Show All
Software Development for Windows Vista Problem with InfocardBrowser sample hosted locally
HI I have locally installed infocardbrowswer sample appln. and while trying to login using infocard it is causing following exception. Server Error in '/' Application. Hi Guillaume, i tried to use findprivatekey and cacls but i have always the error "key pair doesn't exist" : alg.Key = (certificate.PrivateKey as RSACryptoServiceProvider).Decrypt(symmetricKeyData, true); . and the sample application "SampleSecurityTokenService.exe" have stoped to work when i have launched calcs.exe. I did this : You need to read the Installation-Instructions.doc in sample\documents and specifically the section "IIS: ACLS for Certificate Private Keys" Franck. ...Show All
