Maplesoft's Q&A profile
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
SQL Server Dynamic connection string
Our Reporting Services environment uses Oracle as the data source. Based upon the user connecting to the database determines what rows they will see for various tables. How can we dynamically pass the username/password to the connection string Background: Our users log into Active Directory and are assigned to a group. The AD group name is used to access a control table in Oracle that contains the database username/password for that group’s connection to Oracle. All subsequent connections to Oracle will use the group’s username/password from the control table. We have an ASP.NET application that works like this and stores the connection information in the session state. How can we do something similar with our connection in Reporting Se ...Show All
Visual Basic Error copying project
I am getting a message box containing "Unable to open Web project "/". Not found" when I use "Copy Project". I don't know whether the problem is on the development machine or at the web server. I can manually copy files from the development machine to the web server with no problem. Once files are copied, the web works perfectly. I do not have this problem with other VB.NET projects. Environment is VS 2003 (VB.Net). Thanks in advance for any help with this problem, Gerry This happens when I attempt to use "Copy Project" option in the "Project" menu to copy the project from my development machine to the web server. My inclination is to agr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Runtime model loading
I am trying to make a level editor with XNA. Unfortunately, I've run into a little snag. I need to load a model from a user chosen location, but as far as i know models need to be first loaded into the programming solution before they can be loaded through the content manager. Is there anyway to do this at runtime fora model thats not part of the solution As long as you can get the models into the .xnb format using MSBuild or VS on the back end, your app should be able to load them at run time. You need to derive from ContentManager and override OpenStream to read assets not stored in the local file system. Won't work on XBox, though. ...Show All
Visual Studio ReportViewer printing problem - last page won't print
Using VB.NET 2005 SP1 When printing a somewhat complex report (two list boxes, a table, headers & footers) it renders properly in the ReportViewer control but often will not print the last page to the printer. Sometimes we can get the last page to print by telling the report dialog to print a range of pages rather than selecting all pages. Also, many times the report will be two or 3 pages in the ReportViewer control, but will print as 4 pages to the printer. What can we do to consistently print all pages The assembly version of the updated assembly is still 8.0.0.0, but the file version should have changed from 8.0.50727.42 to 8.0.50727.762. You can determine the file version by right clicking ...Show All
Visual Studio Team System List of Deleted Files in TFS
Hi, We need help in finding the deleted file list in source control of VSTS. We tried using command “ tf dir /deleted” but it lists out existing and deleted files, We have 1000’s of files so it is very hectic to go file by file and we are also not able to distinct the deleted files. Can you please help us in getting the list of files or a workaround will be great. Thanks in advance. When you "recreate" Source directory there is new item created on the server, with new item id. You don't overwrite old Source. So if you delete Source again, tou will get later two items "Source" with different deletion ids. As Richard mentioned - to filter items that w ...Show All
Visual Studio Express Editions Date problems...
Hi all I have an SP... and when I execute it like the following: EXEC p_InsertNewStudent 'Joe' , 'Jimbo' , 'Blogs' , '1985/07/25' , '1343226' , 111111 , 222222 ; It works. But if i do the following, which is what I want: EXEC p_InsertNewStudent 'Joe' , 'Jimbo' , 'Blogs' , '25/07/1985' , '1343226' , 111111 , 222222 ; I get: Error converting data type varchar to datetime. Neot the difference in the order of my date items... A small but frustrating problem!!! Can someone please help Thanks for your time Chris Have a look at the CONVERT function of T-SQL. For your date format dd/mm/yyyy use this: CONVERT(datetime, '25/08/1999', 103) ...Show All
Software Development for Windows Vista directshow source filter for ip camera
hello, i'm hoping that someone will be able to help me. i would like to use windows media encoder to stream video from an ip camera or network camera. but since ip cameras doesn't connect directly to a computer, i'm not able to see the device in WME. i've seen 1 example of someone that wrote a custom source filter for Axis brand ip camera, i'm using another brand called vivotek. so, can someone please let me know how difficult it is to write a source filter and if it's possible to write this code for all cameras or it will depend on what the ip camera supports. any help with this is greatly appreciated. If you go the the Axis website, they offer an sdk for most of their servers/cameras. You can send ...Show All
SharePoint Products and Technologies Sharepoint Services 3 - Document Page Not Showing
I've been having something strange happening that I can't figure out. I have been adding a web part page to a document list, I've added about 30 so far. For some reason though, when i log in as another user that has full admin access (eaxct same permissions as myself), the files do not show up. About 10 of them show up and the rest can't be found. If i log back in as myself then I can see them again. My first thought was maybe i accidentally added them to a personalised view, but when i go into Web Part Page Maintenance it says that it is not a personalised view, and either way I am sure that i never did that. Now whenever i add some new pages they are not showing up under anyone elses login, just mine. I must be doing something stu ...Show All
Visual Studio Express Editions ok...it,s done
hi guys with a little help from one or two of you guys, I have finished my first program, I think. my personal web browser..... I have published and installed it on my pc..... and I like it. I tried to publish to my web site.....and it seems you need to have frontpage.....which I dont have. I use coffeecup ftp to upload my stuff.......... so I published to my pc and then uploaded the published program to my site....ok but it wont install from my site......WHAT CAN i DO........help....please thanks cheyenne thanks spotty but thats a bit too complicated for me as far as I know vb net loads what is needed when you publish... I published to my pc.....so vb copied whatever to my pc....when I uploaded to ...Show All
.NET Development Dictionary Dilemma
On the following site: http://www.devx.com/codemag/Article/32647/0/page/3 ...I'm told about the Dictionary template, and then the article gives this caveat: "If you need to sort the dictionary entries by key, you'll be better off using the new SortedDictionary class, which maintains a sort order on key." Well MAJOR DUH!!!! My whole point in reading that article was to determine why I would ever want to use the Dictionary template instead of SortedDictionary. And so I'm still wondering, when would anyone EVER have a need for a non-sorted dictionary Regarding this plain "Dictionary," there must be some esoteric piece of knowledge I'm missing. Help! Ok, but I'm not asking if anyone has used the non-sorted ...Show All
Windows Forms Visual Studio 2005
Hi All when I am trying to discover visual studio 2005, I got a strange behavior when I am trying to put about 50 button on the form and run the application it makes some flicking in the startup I tried to avoid flicking by using DoubleBuffered, see this class InheritedButton:Button { public InheritedButton() { this.DoubleBuffered = true; } } and I had used InheritedButton instead of button also makes the Form itself support the DoubleBuffered and still flickers!!!!!!!!!!!!!! You got some buttons there for a single form., although this is not a limitation, it probably is the reason for your form's flickering when displaying all the buttons, especially because your buttons is DoubleBuffered and maybe owner drawn. What happen if ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bug while installing XNA Framework 1.0
Hi, I really want to get XNA Framework, but when I try to install it a bug appears saying: "Error writing to file Microsoft.Xna.Framework.Game.dll. Verify that you have access to that directory." I click Retry and a message appears saying: " The installer has encountered and unexpected error installing this package. This may indicate a problem with this package. The error code was 2350" Please help! I really want XNA. Thanks. 1) Uninstall any previous beta (using the Add and Remove Programs control panel) 2) Reboot 3) Make sure you have administrative access 4) Install Visual C# Express (if not already installed) 5) Install XNA GSE ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shader to Mimic BasicEffect Textures
Just in case I am overlooking the obvious, is there an easy way of getting the textures that are linked to a mesh BasicEffect somehow knows which textures are for which part of the mesh, is this behaviour easy to mimic in a user definded shader I have per pixel lighting with specular/diffuse working great, I just need this last peice of the jigsaw. Any help is much appreciated. Ok we are getting there ... I now have a separate instance of my effect for each part of the mesh (x8). I have one more tiny problem, the Effect class does not have a Texture property All of the effect setting and texture setting ( ) is currently being down at runtime. Here the initial load ...Show All
Windows Forms Windows Calculator
Hi. I am writing a program in VB.2003 that needs to use the windows calculator. I know how to open it, but is there a way to tell the calc exactly where to be located on the screen. Thanks Rocco RoccoSmit wrote: Hi. I am writing a program in VB.2003 that needs to use the windows calculator. I know how to open it, but is there a way to tell the calc exactly where to be located on the screen. Thanks Rocco No you can't tell where to display the calculator from outside, this is to respect the application on where it want to display itself. But you can move it after it is shown, by using set of APIs and the process's MainWindowHandle ...Show All
