Tony512's Q&A profile
Visual Studio 2008 (Pre-release) XBAP system requirements
Hi, I'm evaluating to start new applications developments using XBAP. Anyway I don't find client system requirements for XBAP applications. Can Anyone help me TIA Marco Ok, so the minimal client system requirements are the same of .Net Framework 3.0 right I was wondering if there was an Activex for IE 6 capable to host client side XBAP applications so that they could execute starting from Win98. TIA Marco ...Show All
Software Development for Windows Vista Missing Persistence Schema RC2
I have installed the most recent release canidate for windows workflow. I went to add the default persistence service to my workflow and discovered that the schema files do not exist on my computer (in fact in the C:\WINDOWS\WinFX\v3.0 directory, there are only two folders WinFX Runtime Components 3.0 - Beta 2 and WPF and both are empty). I have installed the RC on 3 machines, and all three are the same, so I don't feel reinstalling will fix the problem. I have tried the installer that came with the labs (in C:\Windows Workflow Foundation\Labs\SQL_Scripts\Lab03 I ran CreateDatabaseObjects.cmd) and the installer did not work. I got "0sql is not recognized as an internal or external command, operable program or batch file." Does an ...Show All
Visual Studio Tools for Office Integrating Active Directory & Excel
Is there any way to integrate active directory with excel workbooks I want certain areas in my excel workbook restricted or totally unavailable based on a users' windows authenticated login. Would've been awesome if Excel had something analogous to website admisnitration in ASP.NET websites. There's nothing special in vSTo to support this. You might try asking in the excel.programming newsgroup . There may he some way using IRM (Information Rights Management). ...Show All
SQL Server Deploying to subfolders from VS
I've got a report project with a few reports in I want in the root target directory. I also want to create several folders and put reports in those. The problem is I don't see any way to create a report folder in VS. I also don't see any way to pick the deployment path of a single reprot in VS. This makes me think I'll have to create a different Report Project in VS for each folder!! (this sucks). Does anyone have an idea or suggestion here Well, if you have any linked reports with landscape orientation, they will, more than likely, insist on printing portrait. Just something to consider. Another thread covers this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=137986&SiteID=1 Even with the small glitches, SRS is ...Show All
.NET Development Dataview.Sort not working.
This is weird. I have a DataView that I create from a DataTable like this: ------------------------------------------------------- DataView masterDv = new DataView(masterTable); ------------------------------------------------------- Column #12 is called 'CLIENT': ------------------------------------------------------- masterDv.Table.Columns[12].ColumnName="CLIENT" ------------------------------------------------------- When I set the sort property of the DataView, the Dataview doesn't change. masterDv.Sort = "CLIENT"; ------------------------------------------------------- Am i missing something thanks. doug Hi there, I think th ...Show All
Visual Basic An unhandled exception of type 'System.InvalidCastException'
Hello all. I’m trying to learn vb.net at home. I have a book with exercises and now I’m stuck because of this error: An unhandled exception of type 'System.InvalidCastException' occurred in microsoft.visualbasic.dll Additional information: Cast from string "233.3" to type 'Decimal' is not valid. So there is code from a book: Private Sub btnCalculate_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnCalculate.Click Dim dOrderTotal As Decimal Dim dD ...Show All
.NET Development Just not understanding the transition from old AxMSWinsockLib to .Net
Ok, I'm just not getting it...I'm totally missing something. The 101 examples haven't helped me at all. I've got an app that was written in VB6. I used AxMSWinsockLib My current load looks like this: udpSocket.Bind(LocalPort) Then, I have an event driven sub: Private Sub udpSocket_DataArrival( ByVal eventSender As System.Object, ByVal eventArgs As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles udpSocket.DataArrival Dim Stn As Short If eventArgs.bytesTotal = 1 Then Exit Sub End If Do While eventArgs.bytesTotal > 0 udpSocket.GetData(Packet) [...snip] Here's what I don't understand. How do I go from udpsocket.bind to .Net where ther ...Show All
Visual Studio Express Editions vanishing main menu mystery?
A windows application project had an main menu Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu I said had because it is no longer visible both in designer mode and when the application is run. Instead there is a blank area that is not a panel but the form itself. The code and codes for the subitems are still in the form1.vb when I veiw it with notepad. there is no menustrip whatsover How do I go about making the mainMenu1 visible again Sounds like something bad happened to the designer generated code. To take a look at it, click the Show All Files icon in Solution Explorer, open the node next to the form and double-click the Designer.vb file. If it doesn't make a l ...Show All
Visual Studio Swimlan Size
I have a good working dsl model with one minor problems. My swimlane is extending the whole window, where as i want to reduce its width.I changed default width, default height of swimlane shape, but that did not had any effect. Any ideas thanks You can override the BoundRules property and create your custom BoundRules class for that swimlane then, you should override the GetCompliantBounds method in the custom BoundRule class and return the Rectangle with the size that you need. like this... public partial class MySwimLane { public override BoundsRules BoundsRules { get { return new MySwimLaneBoundrules(); } } } public class MySwimLaneBoundRules { public override Rectangl ...Show All
Visual C++ Link Errors
This may not be the proper forum for this posting so I appoligise in advance if I have got it wrong, but i am hoping that someone can help me with my problem. The problem is that when using IM with PDFMDD11.lib (thrid party Libraries) and third party lib under VS2005 and I then try to link to the StaticMTDLL IM Libraries I am recieving link errors indicating objects already defined. I believe that the problem is a conflict of some kind between the PDF image libraries for reading/writing TIFF, PNG, and JPEG files and the Imagemagic Libraries. Can anyone help me put with this and provide a solution if possable. The errors read. >log4cppD.lib(CategoryStream.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL ...Show All
Visual Studio Error with installation
I would like to install Visual Studio 6 Pack and it reports me error with message that Visula Studio Service Pack 6 was not completed successfully. I kindly ask you to help me what is wrong VB6 related questions should be posted here: http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx dg=microsoft.public.vb.general.discussion&cat=en_us_ab067bc0-bda5-4921-a1ec-e76402873945&lang=en&cr=us since these forums are for VS.NET ...Show All
SQL Server Creating Simple Report using Reporting Services SP2 and SharePoint 2007 Integration
I've been running around in circles all afternoon trying to create one simple report using Reporting Services (with latest SP2 installed) and SharePoint 2007. To the best of my knowledge, I have everything configured correctly: When I access http://<server>/ReportServer , I see the server name of my SharePoint site. When I click on the name of my SharePoint site, it shows me the directory structure I have created within my SharePoint Site When I drill down in the directory, I can ultimately see the forms I created in my forms library (created via InfoPath 2007). The next step is to create one simple report from the data in one of these forms libraries and a report on all the items within a form library. I'm stuck at th ...Show All
SQL Server Parameters for Report Builder
Is there a way to set parameters for a Report Model I have a database that includes data for a lot of users and I want to be able to use a Report Model but only allow the user to see data related to their UserID when they are using Report Builder to build a report. Is this at all possible Would I have to set up some custom authentication Thanks for any help. Ok, I understand I can limit access to certain parts of a report or datasource, but I want to be able to filter data based on what user is doing the ad hoc querying. So I can do a Select * From tbl_UserData Where UserID = @UserID. I want to be able to set this @UserID paramater somehow, but not have the user select it. Is this possible Or would I nee ...Show All
Visual C++ Using CLR
Standalone using CLR Is it possible, if not, what are the advantages of using CLR Thanks, Chris Yes: the is a separate .NET only install. If don't use the CLR then there is no need to install it. But if you application depends on the C and/or C++ runtime (which almost all C and C++ applications will) then you will need to ensure that the appropriate is installed on the target machine. This page explains the process. Note: Vista comes with the .NET runtime already installed. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Multi threading in a game (using XNA)
Hello. I am able to create thread and make them exchange information through common objects they know (server / each other reference) Now I would like 2 threads to update a server. Each of those threads takes for inputs a keyboard for one, a mouse for the other one. However, it seems that the thread that listens on the keyboard do not detect events from it. Seems like it is the parent thread that is able to listen to a keyboard event and only that parent thread. How would you do so that a children thread is master over a device even if it does not have the focus Regards, Chryso Maybe not the most helpful response but why dont you just ignore all the hassle of multi threading and not use it I mean multithr ...Show All
