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

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

Yinon

Member List

ReefDvrJim
markovuksanovic
Sarwanan
daimaku
James Lissiak
Mephisto187
Bill Henning
Reid Westburg
KipK
Learning VB
Saad Ahmed
walterd
rick_james
Larry Smith
IMBogus1
r3n
TNinMT
SOTY_Programmer
Batikit
JonesAtl
Only Title

Yinon's Q&A profile

  • Visual Basic Problem communicating with HTTP

    I am trying to communicate with an RFID reader via HTTP. In an browser window, I can simply enter the following address: http://192.168.0.150/cgi-bin/dataProxy oper=queryTags The reader then returns to the browser an XML encoded message. However, when I try to do this programmatically, I get the following exception: "The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF." The code that I'm trying to use is as follows: Dim R As HttpWebRequest = WebRequest.Create("http://192.168.0.150/cgi-bin/dataProxy oper=queryTags") Dim WR As HttpWebResponse = Nothing Try WR = R.GetResponse Catch ex As Exception Debug.WriteLine(ex.Message) End Try Dim sr ...Show All

  • Visual C# MarchalAs multidimention array

    This is for a single byte array x [MarshalAs(UnmanagedType.ByValArray, SizeConst=SERIALNO_LEN)] byte[] x What happens when x is a multi dimentional array what should SizeConst be I am guessing the product of the two dimentions. Suggestion Have you been visited Microsoft’s Default Marshaling for Arrays page If not, then this stuff is the first thing to learn. ...Show All

  • Visual Studio VS 2005: No Command.BeforeExecute event when checking out from Team System

    Hi We recently migrated from Source Safe to Team System. As you may know, Team System does not get a latest version when checking out. So I wanted to write an add-in that listens to the before execute event of the CheckOut command. All the CheckOut events are raised, Except for one. If you start typeing in a file that is under source control and is not checked out, Visual Studio opens a prompt window where you can check out the file. (I have the option always ask for exclusive checkout enabled.) At that moment, I'm listening to every BeforeExecute event, but there is not one event that is raised by Visual Studio. Is there anyone who can point me in the right direction Many thanks in advance Ma ...Show All

  • SQL Server TargetQueue get disabled automatically ?

    I have a weird problem going on : my SB configuration involves 3 servers. Server A sends a message to Server B. there's a stored proc on Server B that is being activated (using Activation), does some processing and sends the message to server C. on C there's another SP that is activated and it's supposed to insert a record into a table. My problem is that on Server C, the record doesn't get inserted when activation is set to ON. when activation is off on C and I run the proc manually, everything works fine, but when activation is on, the record doesn't get inserted. after this happened I tried to fire the proc manually and I got the following error : Msg 9617, Level 16, State 1, Procedure spMSG_ReceiveMessagesOnSubscriber, Line ...Show All

  • Visual C# abstract class vs interface in term of speed

    Hi guys, I read every whare abstract class are faster then interface because interface require extra in direction. i want to know about how compiler deals with interface and abstract class. Thanks I recomend to read this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/fastmanagedcode.asp BTW, interface methods are internally just abstract methods, there is no reasonable difference you should care about ...Show All

  • Community Chat My creation: Color based object tracker

    Hey guys, I've created a program which uses a webcam to track things based on color. I'll use this as a vision system for some of my robots! Check it out on my blog: http://ashishrd.blogspot.com/2007/01/real-time-color-based-object-tracking.html Ashish Cool, you already did that. Just need more precision :). This + auto paint gun or BB gun (from Coding 4 Fun) = sentery gun. Weehoo, first target, my nieghbor kids. ...Show All

  • Visual C++ Linking Source Files.

    I may sound like a complete newb here: (this is in reference to VS 2005 btw) I have a folder on my harddrive that contains both source files and header files. I want to make this folder available to all of my projects. Now adding the directory to the INCLUDE path under Properties/Project Settings/VC++ Directories/ works in making VC++ know where the header files are but when I attempt to compile the project it results in Linker Errors (it can't find specific member functions of classes included). So what I need to know is how to make the VC++ linker look inside this directory for the source files. I've tried adding the folder to the LIB path, Source Files under VC++ Directories, even the Executable Path and no look, it just can't find t ...Show All

  • Windows Forms Webservice return: open a PDF

    Hi, I want to know how I can do for open a pdf in my windows form. I code in C#. The situation: In one of my webservice I send a PDF as return: response.contenttType="application/pdf"; response.writefile(filename); My pdf is save on the server. If I query my webservice in a web browser that launch Adobe and I can see my pdf. Is it possible to do the same things in a winform With the same webservice Thanks a lot for your help. Use a WebBrowser Control(shwdoc.dll) then navigate to the URL\location using axWebBrowser1.Navigate( \\servername\documents\filename.pdf ). You can also use the URL that allows you to request the PDF. ...Show All

  • Windows Forms hint help for datagridview cell

    Thankyou. one more question...how can i make the tooltiptext to appear once value is entered in the cell I have tried like If (indexC = 6) Then DataGridView1(6, indexR).ToolTipText = "tool text" so the text only appear when the mouse is use to point on that cell....how can i make it to appear once something is started typing I thought about mesagebox but it is annoying.. and also how can I show the tool text at the right coner of the cell only Hi, Pwint Try the following code I write for your information. Hope it helps. ToolTip tip = new ToolTip (); private void dataGridView1 ...Show All

  • SQL Server SCD component - is there an alternative?

    Hi, I have several SCD components in my project. As I have to process millions of records, SCD's are taking a lot of time. Is there a way to speed them up Work arounds Any tip is welcome -Tom Tom, you can use the following pattern: 1) do a Lookup to identify insert/update paths (updates will be the failed lookups) 2) load the inserts directly into your destination using bulk insert 3) load the updates into a separate staging table 4) perform the updates using a set operation between your destination and staging tables   hope it helps -alex   This is exactly the procedure I use. For what I've seen, the OLE DB Command in your dataflow is the main bottleneck in the SCD-generated flow. T ...Show All

  • Visual C++ C++ Generics issue

    Hi. I'm having a problem converting some C# to C++/CLI, which involves generics: //// C# code (compiles and runs): ///////////////////////// // The constraint requires the generic parameter T // to be convertable to the type of the derived class: public abstract class MyBaseT<T> where T : MyBaseT<T> { public MyBaseT() { } } public class MyDerived : MyBaseT<MyDerived> { } //// (equivalent ) C++/CLI code: //////////////////// generic<typename T> where T : MyBaseT<T> public ref class MyBaseT abstract { public: MyBaseT() { } }; public ref class MyDerived : MyBaseT<MyDerived> { }; /// Compiler error: Error 1 error C3393: syntax error in constraint cla ...Show All

  • SQL Server Monitor database not backup

    Hello, I'm monitor my SQL 2005 using MOM 2005. I would like to create a VB script to get database list that are not backup in the last X days. how can I do that http://www.extremeexperts.com/SQL/Scripts/Lastbackup.aspx fyi. ...Show All

  • SQL Server Unable to install SQl Server 2005 SP2 - Unexpected error

    I am trying to install SQl Server 2005 SP2 but it was throwing an unexpected error when trying to install "setup support files". O/s: Windows Server 2003 SP1 Product: SQL Server 2005 Standard Edition Log file shows: +++++++++++++++++++ === Verbose logging started: 2/20/2007 16:05:42 Build type: SHIP UNICODE 3.01.4000.2435 Calling process: F:\SQL2005sp2\hotfix.exe === MSI (c) (74:68) [16:05:42:635]: Resetting cached policy values MSI (c) (74:68) [16:05:42:635]: Machine policy value 'Debug' is 0 MSI (c) (74:68) [16:05:42:635]: ******* RunEngine: ******* Product: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\Cache\SQLSupport\x86\1033\SqlSupport.msi ******* Action: ******* CommandLine: ********** MSI ...Show All

  • SQL Server Train mining model

    hi, I newly Installed my SQL 2005.When I try to train my Model its giving me " Key not valid for use in specified state. " Can anyone help me how to figure it out Thanks, Karthik hi Ram, I am using BI Dev Stud to create my dataSource. In the datasource connection,The connection is like this "Provider=SQLOLEDB.1;Data Source=DBSERVER; Integrated Security=SSPI;Initial Catalog=CF2_0_1_Dev.". When i test connection it gets succeeded. In my DataSource View I am using a named Query Like "SELECT StudID,Date,Performance FROM Stud".When i Deploy after creating the dsv its working fine. the content types of the model is like this studid double key, date date key time. performance doubl ...Show All

  • Software Development for Windows Vista Create Custom activity to store data

    Hi everybody, I created a state machine workflow with some services: _WFRuntime = new WorkflowRuntime (); _WFRuntime.AddService( new DefaultWorkflowCommitWorkBatchService ()); _WFRuntime.AddService( new SqlTrackingService (trackingStore)); mmitWorkBatchService(workflowStore)); _WFRuntime.AddService( new SqlWorkflowPersistenceService (workflowStore, true , new TimeSpan (0, 0, 0, 10, 0), new TimeSpan (0, 0, 0, 10, 0))); _WFRuntime.AddService( new ManualWorkflowSchedulerService ()); ExternalDataExchangeService dataService = new ExternalDataExchangeService (); ... (adding my local service which i use to raise events from my asp.net application) I need to be able to stor ...Show All

©2008 Software Development Network