Becky_Yny's Q&A profile
Visual Basic Question on ClickOnce
I have finished designing my first VB app (VB2005) and I am going to deploy it to a network share using ClickOnce. I have read the documentation and several of the posts on it but I am still a little nervous have some questions. First, do I have to have a certificate or a key file in order to do updates My security person believes it isn't necessary since it is on our local network. Second, once I deploy with ClickOnce, if I find serious ...Show All
SQL Server CREATE ASSEMBLY failed: not authorized for PERMISSION_SET = EXTERNAL_ACCESS
CREATE ASSEMBLY ClrSql from 'C:\ClrSql.dll' WITH PERMISSION_SET = EXTERNAL_ACCESS gives me this . . . Msg 10327, Level 14, State 1, Line 1 CREATE ASSEMBLY for assembly 'ClrSql' failed because assembly 'ClrSql' is not authorized for PERMISSION_SET = EXTERNAL_ACCESS. The assembly is authorized when either of the following is true: the database owner (DBO) has EXTERNAL ACCESS ASSEMBLY permission and the database has the TRU ...Show All
Smart Device Development Message box options
hi, Is there a way to have buttons on the PPC MessageBox When I make the call: MessageBox.Show("Do you want...whatever ","Alert",ButtonEnum), the compiler won't allow the ButtonEnum. Not having a way to confirm is fairly clumsy. Any suggestions for a workaround besides entire "one size fits all" Forms. I'm using vs2005, wce 5.0, and the PocketPC template. Jim .NET ...Show All
Visual Basic How do I solve TargetInvocationException problem with WebClient in Visual Basic 2005?
Hello, I've created a small programme which downloads file over web using the WebClient interface. I've added 2 handlers to the to the webclient, one for the download progress and the other for the download completed. Sample code: Private Sub DownloadAsync( ByVal URL As String ) Dim wc As New WebClient() Dim dpc As DownloadProgressChangedEventHandler AddHandler wc.DownloadProgressChanged, dpc Dim ac As ...Show All
Visual Studio 2008 (Pre-release) IOperationInvoker documentation, sample...
Can anyone give me some links or articles explaining the IOperationInvoker interface. Basically, in some circunstances (based on the request message) I want to route my message to a generic handler. So, in a normal situation I want to user the default invoker used by the runtime, and in some conditions, which are detected using an IStubMessageInspector, I want to use my invoker. Is this possible Thanks in advance ...Show All
SQL Server Access is Denied in Upgrade Advisor
Hi all, I have run the SQL Server 2005 Upgrade Advisor against a default instance of SQL Server 2000 server running on Windows Server 2003. One thing I need to fix before I upgrade is: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED) SVCACCTREQ I'm not sure what this means or what I need to do before I can upgrade. Does anyone have a clue on this one. Thanks, David ...Show All
Visual Studio 2008 (Pre-release) programmatically clicking a button?
is there a blessed way to programmatically simulate a button click so that the button acts as though it's been pressed perhaps sending a mouse click to the button sorry, i should have been clearer. what i want to happen is not just that the button looks pressed, but i want everything to happen as though the user clicked the button. e.g., for a button, it would be a look pressed then look release ...Show All
Visual Studio How to logon to a database programmatically. vs2005
I have a web report (without a datasource) with two different subreports. The subreports are each based on a different stored procedure. When I run the report I always have to logon to the database, although I set the connectionInfo programmatically. The code is from the cr tutorialsamples. Is it because I use a stored procedure instead of tables (the sample uses: CrystalDecisions.CrystalReports.Engine. Table) Regards, Goos. <code> ...Show All
SQL Server Printing reports is very slow.
We are using SQL 2005 and Reporting Services 2005. When we print reports they take so long to print that it is faster to export to PDF and then open and print the PDF. The cause appears to be the print job file size. In our old reporting tool one report had a file size of 1.22MB. The reporting services version of the same report is 2.82 GB. This takes 20 minutes for the printer to spool and process. Our users are understandably upset that a high ...Show All
Visual C# Network like vb.net in c#
using .NetFramework2.0 in vb.net there is a method call My .Computer.Network, in the System.Net i want to know how can i use somthing like thesein c# , for example: Dim ficDest As String = "C:\son of a p.swf" My .Computer.Network.DownloadFile( "http://img51.imageshack.us/my.php loc=img51&image=48-196510_Son_of_a_P.swf" , ficDest) // this will download a file from a server thanks to all, xinpis@hotmail.com ...Show All
SQL Server dynamic query
hi, i'm using dynamic query in the dataset because i wanted the result to group by the particular parameter selected. however, another parameter requires the data to be taken from another table. is the following syntax acceptable =if (Parameters!rev_data = 'A') begin "select a,b,c.... from tableA" end else begin "select d,e,f.... from tableB" end i encounter this error : 'Expression expected'... is the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Languages supported
I'd like to know which programming languages XNA supports. Thanks in advance for your answer Don't hold your breath waiting for official support for VB. XNA works with Visual Studio already and there's still GSPro coming down the pipe sometime, so I wouldn't expect them to have much time for integrating other languages into GSE. ...Show All
Visual Studio Tools for Office ItemAdd Event Problem
Hi all, Currently i am doing development in VSTO for outlook. I have encounter this problem, where the ItemAdd event only trigger only once and subsequently the event is not trigger anymore. What could be the problem Below are some code which i have use: I have store the MAPI folder in a linkedlist on the application start i run this method to add it the event. private void addOtherFolderEvents() { try { LinkedList&l ...Show All
SQL Server How to Change Query Type ?(Mangagement Studio)
Why the "Change Type" Button of the "Query Designer Toolbar " is alwayse Disable(gray color) ,then how can i switch the query between "selelct","update","Insert" and "Delete" I am using Nov 7 released 180 Days Trial Version.(Sql Server Management Studio) Thannks! The Query toolbar is associated with Query Designer documents. The only way to display such a document in Management Studio is using the Open Table/Open View functionality ...Show All
Visual Studio Team System TFS Install error
I'm installing what I think is the newest release of TFS from MSDN (downloaded on 3/9/2006). It's a clean install on a brand new server setup (server 2003 standard run on Virtual server 2005). At about 1/3 of the installation I get the following error: Error 32000. The Commandline "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned non-zero value: -2130246302 I've been trying res ...Show All
