Software Development Network Logo
  • Windows Forms
  • .NET Development
  • Microsoft ISV
  • Windows Vista
  • Visual Basic
  • IE Development
  • Visual Studio
  • VS Team System
  • Smart Devicet
  • Game Technologies
  • Audio and Video
  • Visual C++
  • Visual FoxPro
  • SharePoint Products
  • Visual C#

Software Development Network >> P_Moriarity's Q&A profile

P_Moriarity

Member List

Valst
PitcherJ
unknown311
Ross Watson
Palle
Penicillin
Keith Newton
ajedi2k
Vladimir Pilich
dkoco
le tan duc
Sebastien LEIX
GSReddy
CodeDigger
Ather.
mickdelaney
Trisha1802
Sameep
Radim Hampel
Nisa
Only Title

P_Moriarity's Q&A profile

  • Visual C# How Can I Create File or Folder on [Map Network Drive] ??

    Hi When I try to create new file or folder on any [Map Network Drive] using Windows Service Program I get Error Message The Error Message Could not find a part of the path 'Z:\test folder '. I try to create the folder [test folder] on the map network driver I use this code to create the folder Directory .CreateDirectory("Z:\test folder"); Also I get the same problem if I want to create file in map network drive Note : I don’t face this problem in I will use the same code with Windows Form Application How Can I solve this problem and give my Windows Service Program ability to create folders and files on map network drive And thanks with my best regarding Fraas ...Show All

  • Visual Studio 2008 (Pre-release) How I create a Proxy for WCF with TCP Transport and Binary encode in SDK July CTP?

    How serialize customized messages with WCF Binary encode and TCP transports How I create a Proxy for TCP-Binary in SDK July CTP Do you have any example Thanks, Daniel Andrade Well, this is exactly what the both of us said. In your code you are missing a binding - a binding is the actual 'technical' implementation of service communication. And if you choose to expose your service via its interface on an endpoint that uses a netTcpBinding you are where you want to be. Something like (in config, but can also be achieved in code). <services> <service name="Microsoft.ServiceModel.Samples.GreetingService"> <endpoint address="net.tcp://localhost:1234/GreetingServic ...Show All

  • SQL Server Urgent help with a chart

    Greetings -- I have the following data coming from the db. Jan Feb March April May June July August Sept product1 100 100 110 110 120 120 130 130 125 product2 98 97 85 86 97 99 98 110 105 product3 110 113 115 117 110 110 100 105 108 product4 65 68 63 65 61 66 67 69 63 I'm trying to create a line graph to show the average price of sales of four different products. I don't know what fields to drop in the data, series and category areas when putting the graph together. I have tried several combinations. Any assistance is apprec ...Show All

  • Visual Studio Team System .NET Runtime 2.0 Error

    Hi All I build the first and very simple project in BizTalk2006 I am receving a XML file from a remote computer using " http:\\port 5555\broker" and save it To a local folder. The Build and deploy process went OK The I "Bind" & "Enlist" - and its OK But Then I Go"Start" and the following Error Appear in the event viewer: Source: .NET Runtime 2.0 Error ID : 5000 Description: EventType clr20r3, P1 btsntsvc.exe, P2 3.5.1602.0, P3 4410e6b9, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 4052, P8 27, P9 system.net.webexception, P10 NIL. Any one has any idea (i worked before with BIZTALK2004 and it was OK) Thank you i.i Hi, I'm sorry I can't help with your proble ...Show All

  • Smart Device Development x509Certificate(filename) constructor missing

    Hi, Using the full framework I am easily able to check the cert that was used to sign an assembly. How do I do this on a PocketPC The x509Certificate class in the Compact Framework requires me to have read the certificate into a byte array. Furthermore, evidence related members are not available in the Compact Framework version of the Reflection namespace... How do I read the certificate from a signed assembly into a byte array Platform invoke I've been combing the web for days. Can someone please help me out. Thanks. Thanks Sandy. But I titled the thread wrong, so I will create a new one. I have to find out how to deal with the lack of the x509Certificate.CreateFromSignedFile(filename) member. ...Show All

  • Visual Studio Creating artifacts

    Hi, I been trying to figure out the best way to generate the code based on my model. I have 3 classes and there can be X amount of each in the diagram. I need to generate a class for each of these diagram elements. I have played around a little with text templates but I'm not sure what is the best way to accomplish this. I was reading this post on creating multiple artifacts from one template. http://forums.microsoft.com/msdn/showpost.aspx postid=18813&siteid=1 A lot of this is over my head at the moment. This is my first time doing this and if somebody could outline how this can be done for me to point me in the right direction it would be much appreciated! Thanks Stephen Stephen, Take a look at ...Show All

  • Software Development for Windows Vista How do i pass handle between proccesses?

    Hi, I could use CreateProcess and STARTUPINFO to pass a pipe handle in xp. How can I use pipes with Shellexecute under vista Specifically, I tried "CreateProcess" from low privileged process(an activex) and it fails. Thanks in advance. What parameter did you use to pass the pipe handle - I used anonymouse pipe(created with inheritible flag) and used STARTUPINFO hStdInput or output when Creating process When you say low privileged, do you mean Low Rights IE or a standard user application -Low Rights as in protected mode I noticed plain "CreateProcess() without any pipe handle passing" fails when run from Low privileged application such as ActiveX I also tried file mapping with 'Local\\myFil ...Show All

  • Visual Studio Team System postbuild event

    Hi, Would it be possible to add a postbuild event feature to the database project I have a scenario where I would like to run aspnet_regsql.exe utility to install/merge the ASP.NET 2.0 services database into the database that I am building with VSTS-DB. I basically want to avoid creating the ASP.NET services db schema by hand (or even importing .sql files) -- I'd rather run their tool and point it at the database created by the build. The postbuild event could provide some macros (e.g. Target database name, connection string, etc) that I can then use as command-line switches to aspnet_reqsql.exe. Thanks, Vitaly You are right. the file has been referenced to in the Script.PostDeployment.sql fil ...Show All

  • SQL Server sql installion help error 67

    Hello I am trying to setup a 2 node cluster active/passive. I have Server 2003 Enterprise with SQL 2005. I have setup up the cluster and everything fails over and back fine. I set up the MS DTC to cluster as well. I try to install sql on the first node. I am logged in as the domain administrator and not logged onto to node 2. I am fine up until the point where SQL installs. When it gets to the SQL Server Database Services, it fails. When I go into my logs, it gives me an error of 67, network name not found. What does this mean Does it mean the virutual name for the server, or the name of the network (domain name) Is there a way to correct this. I am using a SAN to store my data. I have created LUNs on my machines. I read a post where ...Show All

  • Visual Studio Express Editions how to save file?

    hi there... my problem is.. how to save a file (text, excel or doc) based on datagrid output Dim sw As System.IO.StreamWriter = New System.IO.StreamWriter("C:\abc.txt") sw.WriteLine("This is my text") sw.Close() Dim swExcel As System.IO.StreamWriter = New System.IO.StreamWriter("C:\abc.csv") swExcel.WriteLine("Akbar khan,akbar@akbar.com,www.akbarbuneri.googlepages.com") swExcel.WriteLine("Akbar khan,akbar@akbar.com,www.akbarbuneri.googlepages.com") swExcel.WriteLine("Akbar khan,akbar@akbar.com,www.akbarbuneri.googlepages.com") swExcel.Close() ...Show All

  • Visual Studio Visual Studio SDK V4 and DSL Tools Update Released

    As announced over on the VS ecosystem blog , the V4 version of the Visual Studio SDK has just released. You can download it here: Microsoft Download Center  From a DSL Tools point of view this update is a bug fix release. Here's the broad list of things we've addressed: <Service> tag being inserted in csproj files Partition.GetClosurePrototypeGroup only works for single roots Connectors can become invisible when some files are reloaded Redoing "delete swimlane" causes crash BinaryLinkShapeSerializer now also uses SerializeId and UsesFullForm flags to decide whether to serialize the DomainRelationship moniker Resetting InitialHeight on a shape causes an error Can not use a property directly hoste ...Show All

  • .NET Development How to decode chunked transfer encoding using HttpWebResponse

    Hello All, I'm calling a cgi script that returns a zipped file using the HttpWebRequest class. The web server sends chunked response. Response captured in Fiddler: HTTP/1.1 200 ok Date: Thu, 30 Nov 2006 10:09:47 GMT Server: Apache Set-Cookie: sessionID=1164881387; path=/; expires=Thu, 30-Nov-2006 15:09:47 GMT Transfer-Encoding: chunked Content-Type: text/xml; charset=ISO-8859-1 c13 PK Here's how i process the response byte[] data; response = request.GetResponse() as HttpWebResponse; responseStream = response.GetResponseStream(); reader = new StreamReader(responseStream, Encoding.UTF8); data = Encoding.UTF8.GetBytes(reader.ReadToEnd()); This returns me only the first chunk. How do I read the remaining data thanks, Siwi ...Show All

  • .NET Development How do i keep Instance of current dataset???

    I have a Datagrid.DataSource = mydataset.....when i add new rows to it and close out the form and then i try to open that form back up...the form is blank...why is that Depends... when you add values to the dataset... are you saving the dataset anywhere else or applying those same changes (later) to a data store like a database Where does your app initially get the data for the dataset Worst case you could simply use the WriteXml() and ReadXml() to dump an xml version of the dataset to disk and then load it later (if you are not already storing your data elsewhere). ...Show All

  • Visual Studio Express Editions Autoclick submit & hyperlinks on webpage

    Using a webbrowser control, I navigate to a login page. Assuming my username and password is stored in a database or hardcoded... How can I automate the login by programmatically setfocus to the loginID and password fields and then autoclick the submit button, get to page 2, autoclick a hyperlink, get to page 3, autoclick hyperlink, etc. basically get the user to a page in the webbrowser by automating the login. Thanks for any help. I found the correct answer to this is by using GetElementById and HtmlElement ...Show All

  • SQL Server SS05 SP1 and Visual Studio

    I installed SP1 to fix a few problems, including one where the help button did not work from dialog boxes in Business Intelligence Development Studio. The installation of SP1 did not fix the help button problem so I decided to uninstall sql server development tools and reinstall them. Well, now I can't reinstall them because of a build block error that states I am trying to install an earlier version of Sql Server on top of a new one (which, of course, I am (in a way)). Is there any way to get around this Thanks, Michelle, but I tried running the installation from both the CD and Add/Remove programs and got the same result. I finally ran the individual msi files for each component from the cd and that wor ...Show All

©2008 Software Development Network