llkoolj's Q&A profile
Visual Studio 2008 (Pre-release) Svcutil - July CTP - Metadata contains a reference that cannot be resolved
Hi, I just wanted to try some sample code and generate the proxy with svcutil. The service is self hosted and I'm running into: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>SvcUtil.exe http://localhost:80 01/Weather/out:proxy.cs Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Copyright (c) Microsoft Corporation. All rights reserved. Attempting to download metadata from 'http://localhost:8001/Weather/out:proxy.cs ' using WS-Metadata Exchange or DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Copyright (c) Microsoft Corporation. All rights reserved. Error: Cannot obtain Metadata from http://local ...Show All
Visual Basic How do I Implement Open a Cash Drawer Command Using Visual Basic
Star TSP143 Receipt Printer - TSP100 Series This is the command that I have to execute: starcomm1.StarComm_Output Chr(7) This is the code that I have now but does not work Private Sub Button13_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) ' Begin a new print job 'Solamente abre la caja Dim text As String = "my test" 'Error:Error 7 Name 'StarComm1' is not declared. 'StarComm1.StarComm_InitializePrintJob() 'StarComm1.StarComm_Output(text) StarComm1.StarComm_Output(Chr(7)) StarComm1.StarComm_Print() 'SC_OPEN_CASH_DRAWER_1() 'SC_OPEN_CASH_DRAWER_2() ' For printing directly to a parallel port without starcomm, ' this code would work ...Show All
.NET Development interacting applications
okay i'm talking about applications that interact between each other. one application contains the ds. the others all talk to it to fetch info,. so what is the direction anything is accepted, i'm looking forward for a course but on what exactly i'm gonna tell the manager Hi, I suggest using Webservices so that other applications have means of getting data from it. The client application can easily consume a webservice since webservices could return dataset objects... cheers, Paul June A. Domag ...Show All
SQL Server Dynamic Security Stored Procedure Repeatedly Called
I have implemented an SSAS stored procedure for dynamic security and I call this stored procedure to obtain the allowed set filter. To my supprise, the stored procedure is being called repeatedly many times (more than 10) upon establishing the user session. Why is this happening > Would you mind eleborating more about the table idea Do you mean a new dimension table that will slice the fact table or do you refer to a many-to-many dimension Since it seems that the information about which users can see which members is already stored in the table, you could build an aux measure group with User dimension and your dimension included, and then use something like Exists(MyDimension.MyAttribute.MyAttri ...Show All
Visual C++ debugger error
It's called "No Debugging Information" error. It says "Debugging information for 'name.exe' cannot be found or does not match. Binary was not built with debugging information." I get this when ever I hit the debugging button. Can anyone help me with this That is done automatically. You just have to make sure that you use the pdb that was built together with your exe. You can't use an old pdb with a new exe or vice versa. -- SvenC ...Show All
.NET Development Signing and sending email with S/MIME (X509)
I would like to sign and send email using an X509 certificate (or even PGP). However, I have been unable to determine the proper way of intermingling the crypto and mail APIs. I figure one can use the System.Security.Cryptography.Pkcs.SignedCms to encapsulate the signed content and the System.Security.Cryptography.X509Certificates.X509Certificate2 to read and obtain the private signing key. However, I have not determined the proper way to format an S/MIME encoded message using the System.Net.Mail API. Would someone be gracious enough to provide me a code snippet that demonstrates cooperation among these disparate APIs This use to be possible using CDO, see http://support.microsoft.com/default.aspx scid=kb%3ben-us%3b280391 . Thanks, Mars ...Show All
.NET Development WSDL Redefining a string parameter, is there a way?
I am working on a project where I have a general web service call that accepts 2 string parameters for input and 2 string parameters as the returned result. However, I am defining a large number of API's behind the main exposed web service call that interprets and defines the strings differently dependent on the need. In order to make it easier for others to interface to my service, I was trying to find some way to add these definition to the proxy class...my initial attempt was through the WSDL. I have successfully been able to create a close of the actual service WSDL different definitions of the string parameters but my calls using the proxy created from my cloned WSDL fail with an HTTP: 400 error. Is there any way around this or any ot ...Show All
Visual Studio Team System 180 day Trial Download
I have downloaded the 180-day trial of Visual Studio Team System. The file is: En_vs_2005_vsts_180_Trial.img If I double-click on this file Windows does not know what to do with it. According to the MSN site, it is a DVD image which is meant to be copied to a DVD-R. I don't have a DVD burner. Is there any other way I can install the trial from this image Bob Hi, I have bene having the same issues, but followed the above mentioned way and now I can copy the files from the virtual drive, but I still cannnot install the software Does this need to be installed on a 64bit machine maybe or is the image files maybe corrupt any ideas welkom Regards Gertus ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Additive blending & white background
I'm creating a 3D particle system, explosion type. To achief this I use quads made out of 2 triangles with a texture with an alpha channel. I also use additive blending. My Draw() function is basicly: graphics.GraphicsDevice.Clear(Color.Black); graphics.GraphicsDevice.RenderState.DepthBufferWriteEnable = false; graphics.GraphicsDevice.RenderState.AlphaBlendEnable = true; graphics.GraphicsDevice.RenderState.SourceBlend = Blend.SourceAlpha; graphics.GraphicsDevice.RenderState.DestinationBlend = Blend.One; foreach (ParticleBase p in particles) { p.Draw(graphics, basicEffect); } graphics.GraphicsDevice.RenderState.AlphaBlendEnable = false; graphics.Graphics ...Show All
.NET Development BarcodeGenerator Class
I would like to use the BarcodeGenerator Class, located in the Microsoft.Office.RecordsManagement.PolicyFeatures namespace. I do not have this class, presumably because I do not have the microsoft.office.policy.barcode.generator.dll. Does anyone one know what software this .dll comes with I am running Office 2007 Enterprise and Visual Studio 2005 Professional. Thanks in advance for any help you can offer. Not exactly an answer to your question, but wouldn't it be a lot easier if you used a 'BarCode font' eg: http://www.barcodesinc.com/free-barcode-font/ ...Show All
Internet Explorer Development IE7 FTP Security Issue
I have run into a security hole in my ftp site that has only now become a problem with IE7. The structure of my ftp directory involes several streaming media folders and a Client folder in the root directory. The contents of the client folder and its children are all password protected. Inside these folders I upload content for my clients to view approvals and allow them to upload files for my own use. The root directory has read-only permissions for everybody because of the streaming content I am hosting. In the past when a client logs into their ftp folder, the password protected nature of the client folder prevents them from moving up in the hierarchy outside of their folder. In IE7 however, I have found that a client can now leave he ...Show All
Visual Studio Tools for Office About contextual menu for contact window
hi all, Can we add contextual menu for outlook-2003 contacts window using vb.net.if so please help me.it is very urgent. regards ravindra In versions before Outlook 2007, Outlook does not directly expose the right-click context menu in its CommandBars collection. You will, however, see a new right-click command is when the item selected is using a custom form that includes one or more custom actions. You can also add a custom action without using a custom form, as demonstrated at http://www.outlookcode.com/codedetail.aspx id=526 Richard Kagerer has posted a code sample at http://www.outlookcode.com/codedetail.aspx id=314 that shows how you might trick Outlook into exposing the context menu thr ...Show All
Visual Studio Express Editions Get data from RFID reader + RS232
Hello, I've an RFID reader which is connected with my local pc. I'm trying to get the data from the tags and put them in a database. See code below how I'am connected to the COM port but I can't get data of it... what do I do wrong Thanks Imports OpenNETCF.IO.Serial Public Class Form1 Public WithEvents SerialPort As New OpenNETCF.IO.Serial.Port( "COM1" ) Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click With SerialPort .PortName = "COM1:" '.RThreshold = 1 .Settings.BaudRate = OpenNETCF.IO.Serial.BaudRates.CBR_38400 .Settings.ByteSize = 8 .Settings.Parity = OpenNETCF.IO.Serial.Parity.even .Set ...Show All
Visual Studio Express Editions Creating a windows service to run DOS commands
First off apologies if this is in the wrong forum. Any ideas on how I can do this. Is it possible even. I would prefer to imbed the DOS commands inside the C# rather than reading from a file. Hopefully someone has done something like this before and can offer advice. One thing though. How do I run more than one command against the same MS DOS process. System.Diagnostics.Process.Start ("cmd", @"/c help"); These commands call separate MS DOS processes System.Diagnostics.Process.Start ("cmd", @" /c time"); System.Diagnostics.Process.Start ("cmd", @"/c date"); I'm just using these commands as an example. ...Show All
Windows Forms Bitmap Images
Hi there! I am making images out of data arrays, and then displaying them in a form inside a picture box. The thing is, the display seems to be interpolating between pixel values in order to smooth out the image, to make it look better I guess. But I actually want a purely pixelated image, so that each pixel looks like a square block of a single colour (gray scale actually). I havent been able to find any setting or methods in the bitmap class to change the interpolation method, so if anyone can help me out that'd be great! Thanks a lot Joe So, I dont think it is the bitmap that needs fixing. I think it is the viewer itself thats decides to do the interpolation or not, but there are no property settings fo ...Show All
