Solkar's Q&A profile
Visual Studio 2008 (Pre-release) Custom bindings with msmqTransport
I am not able to get a simple send/receive sample to work with this binding: <customBinding> <binding name="msmqSoap11"> <textMessageEncoding messageVersion="Soap11"/> <msmqTransport exactlyOnce ="false" durable="true"> <msmqTransportSecurity msmqAuthenticationMode ="None" msmqProtectionLevel ="None"/> </msmqTransport> </binding> </customBinding> Are custom bindings allowed with MSMQ The messages are sent to the queue, but the service consumes them without routing the message to the service operation. I posted a similar question a few days ago with no response, but this is the readers digest version of the problem. I also ...Show All
Visual Studio 2008 (Pre-release) Mapping both base and inherited objectqueries in objectcontext
Hi! I'm experimenting some scenarios with Orcas october ctp. I would like to build an objectcontext with both base and inherited objectqueries. Example: I have two entities, Person, and Customer, which "is a" Person. Each entity has a table. Person has an Id, Customer a primary foreign key PersonId. These are the mapping files. These work without Customers EntitySet in csdl and corrisponding EntitySetMapping in MSL. MSL: <Mapping xmlns="urn:schemas-microsoft-com:windows:storage:mapping:CS" xmlns:edm="urn:schemas-microsoft-com:windows:storage:mapping:CS" edm:Space="C-S"> <Alias edm:Key="C" edm:Value="ShopLib" /> <Alias edm:Key="S" edm:Value="ShopLib.Target" /> <EntityCo ...Show All
.NET Development error CS0246 : the type or namespace name could not be found.
I have an abstract class call "db" where I include all my methods to call the database. Then I have a Webservice which inherits all the methods of my abstract class to made it public and call them from a web app. I have no problems to create a dll with the abstract class, but I'd like to compile the full service into a dll but I cannot. Code... [ WebService (Namespace = "http://" )] [ WebServiceBinding (ConformsTo = WsiProfiles .BasicProfile1_1)] public class Service : Intranet.Classes. db //This a reference to an abstract class already compiled. { An the message is: "error CS0246 : the type or namespace 'Intranet' could not be found. Thanks a lot. Man or astroman. ...Show All
Software Development for Windows Vista TDI interface
As stated in Vista compatibility cookbook Note The TDI interface is on a path to deprecation in a future release. However, these drivers will still work on Windows Vista. However my TDI driver, that works just fine on Win2000/WinXP stopped to work on Vista. It just doesn't load without any specific error code. If somebody have had solved a simular problem on Vista, I would be grateful for any advice, I am just clueless. And, in the worse case, have somebody tried to migrate to WFP Is it alot of work Thanks a lot OTNS ...Show All
SQL Server How does SQL Agent handle monthly schedules greater than 28 days?
How does SQL Agent handle a monthly schedule where the job executes on a specified day of the month, and that day is over 28 What I'm asking is if I put in the 31st day and the schedule is setup to run every 1 months (every month), then what happens in February Does it run on the 28th or not at all Unfortunately I don't have the access to SQL Server to test this myself and can't wait until February to find out the hard way. I noticed the when you schedule a recurring schedule in Outlook in this manner, a dialog pops up warning you that the meeting won't be scheduled for months without 31 days. When scheduling in SQL Agent, no error message or dialog appears. I'm making the assumption that since the scheduling is very similar between Out ...Show All
Windows Forms GridView beginner
Hi, I have GridView which contain columns id/name/../ state/ ... and I want to get linkbutton at the end of each row which ComandName and Text rest on column "state" so I have no idea how to manage it. do you have some advice please please Im a beginner. If you want to do something to the column "state", Let's say do some custom formatting, you can code a public / protected function that receive state as parameter and return the formatted value For example for C#, the template would be: < asp : GridView ID ="GridView1" runat ="server" AutoGenerateColumns ="False" DataKeyNames ="NOANGGOTA" DataSourceID ="SqlDataSource1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. No Fixed Function At All?
Obviously, Microsoft (and the conspiring graphics card vendors) do not care enough about existing applications that rely on fixed function rendering to provide some level of intrinsic support for a fixed function pipeline. The DX9 fixed function pipeline is seriously limited in its ability to replace fixed function rendering done by OpenGL, but the complete removal is a serious snub toward existing professional applications. 90% of the professional modelling applications use fixed function rendering because it 1) fast, 2) simple to code against. Providing snippets of fixed function rendering is truely a cop out since the ramp up to getting this running in a reliable way is far more difficult than these snippets imply. A better solution ...Show All
Visual Studio Comment but exclude from table of contents
Is there a way to comment a function but exclude it from the table of contents If so how If not, can we get this feature please It seems like it would be very useful. Sandcastle does support ripping feature. Call Mrefbuild.exe with /config switch. Here is an example. MRefBuilder test.dll /out:reflection.org /config:Mrefbuilder.config Mrefbuilder.config <configuration> <dduetools> <platform version="2.0" path="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\" /> <apiFilters> <!-- Exclude a whole namespace --> <filter namespace="TestNamespace1" expose="false" /> <!-- Exclude a specific method of a class - ...Show All
Software Development for Windows Vista Unsupported media state while drive becoming ready
I have consistently seen IDiscFormat2Data::get_CurrentMediaStatus return a state of IMAPI_FORMAT2_DATA_MEDIA_STATE_UNSUPPORTED_MEDIA after I insert a blank recordable disc, after the drive becomes ready. There seems to be a transient state that exists immediately after the drive becomes ready. Prior to this state, while the drive is becoming ready, the get_CurrentMediaStatus method correctly returns an HRESULT of E_IMAPI_RECORDER_MEDIA_BECOMING_READY; then, immediately after becoming ready, it returns S_OK but reports a media state of unsupported. If you call it subsequently, it will return S_OK and correctly report the state as IMAPI_FORMAT2_DATA_MEDIA_STATE_BLANK. It appears that this proble ...Show All
Windows Live Developer Forums VEMap.GetMapView Method
Hi, I'm trying to maintain the state of the map during postback and found a nice thing: VEMap.GetMapView() This could be an easy way to do it, but I cannot find any detailed documentation, about the object that is returned... ! The only sentence I found is: "Returns: An object that represents the current map view. " (http://dev.live.com/virtualearth/sdk/Ref/HTML/M_Namespace_VEMap_GetMapView.htm). Maybe someone can help me to get a few infos ! ! - thx cheers hafi23 How would you go about doing this with a BirdseyeScene Is there a way to determine the LatLong's of the top left and bottom right of the scene, similar to what you can do with the normal map I've tried using something like this, but it doesn't seem to be wor ...Show All
Visual Basic Creating Tables with sql express
I know this deals with ms sql express more so than vb.net but it correlates b/c I want to edit the database with vb.net express. On to my question... I'm trying to learn how to use ms sql express using the SQL Express Manager. However, I can't seem to figure out how to create tables. I'm reading http://msdn.microsoft.com/SQL/2005/getstarted/default.aspx pull=/msdnmag/issues/04/09/expresseditions/toc.asp but it seems outdated and I can't replicate what he's doing in the tutorial. I'm not a total novice when it comes to programming, but SQL Express Manager isn't as intuitive as one might think, there's no "Create Table" context menu. Can anyone throw me a clue Thanks for posting the information. The connection string looks OK. I ...Show All
Visual Basic Saving Decimal Values from Text Boxes
I would like to 'save' a decimal value, entered by the user in a text box, to a field in the binary file. So I thought that's easy, just enter an statement like the following: Prod.W_Condition = CDec (Condition.Text.ToString) And that should do the trick. But apparently nothing is straight forward in Visual Basic. When entering a value such as 1234.56 in the text box, I have the value 123456 (without the decimal notation) being saved in W_Condition structure element. I tried a variety of type convertion such as declaring W_Condition as double and then using Cdbl as convertion function or using Parse.Decimal instead of CDec, but the program just seems to ignore the decimal point in the textbox (e.g Condition.Text) and I end u ...Show All
Visual C# Modification for PDA devices...?
Hi... I have written one application which is running fine on windows PC. Now i want to the application same application to run on windows PDA devices... Is it possible... What modification i have to do to run this application on PDA devices in my code or in my settings... Thanks in adavance... Vinay Instead of a windows application, you'll need to create a Smart Device application and choose which OS you are targetting at - Pocket PC 2003, Win CE 5.0, etc. Then basically you need to copy your code over to the new application and test. Compact Framework has limited functionalities comparing with the fullscale .Net framework, so some controls / components you use may not be available. VS ...Show All
Visual Studio Team System Install both Team Dev and Team Arch
Is it possible to install VS Team Dev and then VS Team Arch over top to get the features of both Will doing so screw up any other apps e.g. Visio for Arch, or disable ability to profile (from Team Dev) cmk Yes you can: just install multiple versions on top of each other and then the service pack. It has been working fine for me and my team. Note: Installing all the different 'flavours' does not make a "Team Suite" edition... Team Suite includes extra "stuff" that is simply not available in the Tester, Architect and Developer editions. ...Show All
Software Development for Windows Vista SCardEstablishContext fails with SCARD_E_NO_SERVICE called from service in Vista
Hello, I've a smart card handler COM object based on Smart Card API. I want to use this COM object from a service. It works in XP, but it fails in Vista (6.0.6000) as service. SCardEstablishContext returns SCARD_E_NO_SERVICE. I've tried it to call with SCARD_SCOPE_USER and SCARD_SCOPE_SYSTEM, both failed. It _works_ when I use it from an application, and it fails called from service. Any thoughts Thanks, Zoltan Schavel ...Show All
