Justanyname's Q&A profile
SQL Server HELP! - URL Access - Localhost vs. ServerName
We have a confusing problem and need some guidance. We are trying to use URL access to generate and display a report. We have tried two ways--building the URL string and popping up a new browser with the Reporting Services URL access string and simply using an anchor tag and setting its URL parameter to the Reporting Services URL access string. Both options don't work--well, one works for the local server and the other works for client computers (not the server), but neither work for both. Basically, we're having trouble using localhost vs. servername in our URL access string. The examples below use localhost. These work fine from t ...Show All
Smart Device Development HTC Universal second camera access
Hi ALL! HTC Universal (Dopod 900) has 2 cameras: big one (1.3M) and small (VGA). I tried Camera Capture sample from Windows Mobile 5.0 SDK and I can access big camera, but I can't get image from small one. I tried "CAM2:" as camera name, tried FindNextDevice() - it doesn't work. Does anybody know how to access second camera (Maybe it's property name (IPropertyBag), but then I have to know a name. Can I enumerate all property names ) ---------------------------------- Best Regards, Vladimir erm how to get the sdk from HTC and what exactly is HTC if i gonna download the sdk where i get the api ...Show All
Visual Studio Express Editions Read from ini-File: PInvokeStackImbalance
Hi, I want to write and read some information and configuration in a ini file. I now found a code-snippet for reading and writing from/into ini files: Private Declare Function GetPrivateProfileStringA Lib "kernel32" _ Alias "GetPrivateProfileStringA" ( ByVal sSectionName As _ String , ByVal sKeyName As String , ByVal sDefault As String , _ ByVal sReturnedString As String , ByVal lSize As Long , _ ByVal sFileName As String ) As Long Private Declare Function WritePrivateProfileStringA Lib "kernel32.dll" ( _ ByVal lpSection As String , _ ByVal lpSetting As String , _ ByVal lpValue As String ...Show All
Visual Studio Express Editions sql express hosting
Can anyone recommend a hosting provider who can offer sql express db Everyone I find is sql2000 or access. thanks hi, i guess in registeration benefits there are a hosting offer about 30 or 90 days i don't remember i guess this will help you to test, but for sure its not express edition at least its SQLServer 2005 but it will run your database that you creat by express edition, also i think the asp.net forum would have more information about that hope this helps ...Show All
.NET Development PublisherIdentityPermissionAttribute broken in 2.0?
Hi, In 1.0/1.1 the following code ensures that a class that wants to inherit from InheritanceDemandExample must be signed with the publisher certifcate contained in the file C:\Certs\pubcert.cer. using System.Security; using System.Security.Permissions; [PublisherIdentityPermission(SecurityAction.InheritanceDemand, CertFile = @"C:\Certs\pubcert.cer")] public class InheritanceDemandExample { // ... } If you look at the IL, you can see the cert embedded in the assembly and the runtime correctly throws a SecurityPermission if an inappropriate class tries to extend InheritanceDemandExample. However, in 2.0, all you see in the IL ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXUT tutorial
Is there more information I can get on how to use the sample framework that comes with DX other then on microsoft.com. There's not a lot there, and I really want to be able to use the user interfaces and controls effectivly. Thanks, Shane Tom Miller 's book " Beginning 3D Game Programming " also uses the sample framework quite heavily, and he gives you a fair bit of information on what's being used and why. Bear in mind that this was written against the October 2004 SDK, so some of the code needs to be updated to work with the current versions, and that some of the samples in the book aren't quite rig ...Show All
Smart Device Development SSL
Hello, I'm new to WM development. I'm developing a client that should run on a Windows Mobile 5 device. I need to communicate with my server via SSL. Can anyone please point me to an example or a detailed document Thanks, Zohar. Have you searched through this forum yet ...Show All
Visual Basic Adding an ocx component to vb2005 project
can somebody help me on how to add an ocx component on a vb2005 project such as shockwave ocx Dominic tanx for the reply. Ive already register it and it was succeeded but it still doesnt work. its still replying an error message " activeX control is unregistered" tanx.. ...Show All
Visual Basic Disabling the close button of a windows application has a problem
When I tried to disable the close button of my Windows Application program using an unmanaged code, this red close button will appear again if I maximized, minimized it , or using Win(key) + D (and again) I don't know why... I can delete the Close menu item, but rather, I wanna disable it. So, if you please find the solution, thanks... Good to hear that you find solution! OnResize() also can help here, just like LayoutChanged. HandleCreated will be called when internal WinForms stuff decide that it need new HWND. As far as I know this happens when you change some styles, like Border (WinForms wi ...Show All
Visual C# MFC OnKeyDown's UINT nChar vs KeyEventArgs in c#
Is there any way to get the equivaleny UINT nChar (used by CWnd's OnKeyDown method in MFC) from a KeyEventArgs instance in c# You can use the KeyCode and cast that to a Char or you can use the KeyValue property. What is the problem your are trying to solve ...Show All
Visual Studio Installing VS 2005 Beta 2 over VS 2005 Beta 2 Express
Hi, I succesfully installed VS 2005 Express Beta 2 on Windows 2000 Adv Svr. I just received the FULL VS 2005 Beta 2 in the mail and would like to start working with it. I see there are a lot of issues with Beta 1 to Beta 2 but my question is will I have those same problems installing the Full Beta 2 over the Express Beta 2 I would hate to mess up a seemingly rare successfull VS 2005 installation Thanks in advance! Joe This is by design. For more info, take a look at: http://blogs.msdn.com/davidnotario/archive/2005/04/27/412838.aspx ...Show All
Visual Studio 2008 (Pre-release) DLink and WCF
Hi, WCF issue with DLink : 1)I can only return concrete 'objects' like "Customers" with all fields ..If I do 'var items = from c in db.Customers select c.City". How I can return only one or two fields without explicit it in return of WCF method 2)How I can return a "Customers" with "Orders" without uses "Lazy loading"...or "Deferred". Thanks, Alexnaldo Santos In regards to your second question, you can prefetch and cache the results using the .ToArray or .ToList extension method. Additionally, you can tell the query to load all orders as it ...Show All
Visual C# Context menu question
Hello Hope its the right place for this question. I have a win app that contains a treeview and a main window. When ever I click a node in the tree it displays the content of the node in the main window. I would like to add a right click menu to the tree. The problem is that the menu may change from one node to another . What is the best way to handle this subject Is there a pattern I can use On every right click I need to know which menu to load and to bind the items to the proper functions Thanks Avi I can suggest one possible design to this. It seems ...Show All
Visual Studio Team System Is there no support for native C++ in Team System?
The subject says it all. What test tools in VSTS actually do work for native C++ So far, I've found prefast. I get the impression from the help that none of the unit test tools, or code coverage tools are usable for native C++. Am I missing something, or is VSTS not very helpful for native development Another non-unit-test possibility is to set up a generic test (that just opens your native c++ app), configure code coverage the normal way to instrument the app, and then launch the test that way. This is still linked in as a "test" but it might get you far enough away from the unit testing ...Show All
SQL Server Error at Transfer Objects Task: The source server can not be the same as the destination server.
SQL Server 2005 - June CTP Error at Transfer Objects Task [Transfer Objects Task]: The source server can not be the same as the destination server. Why not I'm trying to transfer a set of tables from one database to another. Both databases happen to be on the same server. I understand that the source *database* cannot be the same as the destination *database*. But why can't I use the Transfer Objects task to transfer objects from one database to another on the same server Thanks for your help! As far as I can see, with the production release of VS 2005, the original bug which I reported 'the source server cannot be the same as the des ...Show All
