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

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

piip

Member List

ronnie2002c2c
tattoo
H_Innocent
A.Carter
benjamin b
Nilesh Meshram
JuniorBR
&#59;lkj&#59;lk
Drake1500
AndyPham
Cem DEMiRKIR
GrayMatter Software
Rednicks
Mantorok
Gooseman1977
nbaker
GetCode
LukasO
Dylan Smith
JRMcFetridge
Only Title

piip's Q&A profile

  • Visual Basic How to update a database from a DataSet

    I have found a tutorial on Microsoft's site ( http://support.microsoft.com/kb/301248 ) which I have modified slightly to add data into an Access 2000 database instead of a SQL server database. I cannot get the code to work though. It opens the database but no data is inserted. I am using the Biblio dtabase and the authors table. 'Microsoft example of updating database Dim conn As New OleDb.OleDbConnection conn.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Temp\VB NET Dataentry\Data Entry With DataRow\Biblio.mdb" Conn.Open() ' Create an instance of a DataAdapter. Dim daAuthors As New OleDb.OleDbDataAdapter( "Select * From Authors" , conn) ' Create an instanc ...Show All

  • .NET Development BeginAccept launching async callback on main thread

    Hopefully this is obvious..but... I'm building a socket server and using a typical asynch approach: while(true) { _notifier.Reset(); socket.BeginAccept(new AsyncCallback(ConnectionReceived), socket); _notifier.WaitOne(); } private void ConnectionReceived(object oSocket) { Socket socket = (Socket) result.AsyncState; Socket handler = socket.EndAccept(result); _notifier.Set(); //do long-running process } I wanted to stress test the application, so I wrote a test client which opened X connections to the server. The socket server only allowed 2 connections (which was odd, because we have another client (non-stress test), which you can use to open up as many connections as you want). It turns out that the main thread is n ...Show All

  • Software Development for Windows Vista Question on ActivityValidator

    Hi, I have a workflow which is derived rom SequentialWorkflowActivity. I have written a validator for this workflow. This validator is derived from CompositeActivityValidator. [ ActivityValidator ( typeof ( SimpleValidator ))] public partial class SampleWorkflow : SequentialWorkflowActivity { } This workflow contains two custom activities. First activity contains a property named 'Number' and second activity contains a property named 'Records'. In the validator of workflow, i have to check 'Number' property should be greater than 'Records' property. If this conditiion is not satisifed, then I have to show a 'Red Exclamation' symbole either on workflow or on both custom activities. Can anybody help me out. ...Show All

  • Visual Studio 2008 (Pre-release) i WCF, netNamedPipeBinding, and Citrix - BUG?

    We have an interesting issue on our project. We are hosting several WCF services as netNamedPipe, hosted in the same process as the Windows UI. When run locally (Windows XP or Server 2003) everything is fine. However, when run under Citrix, we have found that the Citrix user must be granted the SeCreateGlobalPrivilege in order for the application to run. I believe this is because the netNamedPipe-bound services are creating a named pipe without the "LOCAL\" prefix in their name, which, by default, creates a global pipe. Has anyone been able to run a client that hosts a netNamedPipe service locally on a Terminal Services or Citrix system without setting the SeCreateGlobalPrivilege privilege It seems like this should not be nec ...Show All

  • Visual Studio Express Editions Questions / Answers : Evaluation Outlines !!!

    I am developing an ITS System , in the Evaluation Stage , can someone help me with the outlines for developing the evaluation : What is the most approciate way for storing the Questions and Answers : Multiple Choices , TRUE / FALSE , and any other Questions and Answers form and ... What is the best way for Representing the Questions and Answers to the Learner and ... Finally Thank you so much :) cverdon wrote: Hi, You need something like this: Table Questions: QuestionId QuestionText Table Answers: AnswerId QuestionId AnswerText IsCorrectAnswer To display the questionnaire, select all the data from the table questions and show all the answers linked to ...Show All

  • Microsoft ISV Community Center Forums iexplore.exe - Application Error

    I get the following error message when I close my internet explorer. The instruction at "0x62304320" referenced memory at "0x62304320", The memory could not be "read". Click on OK to terminate that program. Any ideas what is causing this Hello i would like to know how to fix this problem on my computer. If there is away please let me know so i can fix it. Tracyb ...Show All

  • .NET Development Listening to Caller ID sent by remote computer (C#)

    Hi. I have a VoIP modem and I connect it to my family's computer. The program that I use which serves as a server is YAC (Yet Another Caller ID) . In my laptop, since I used Ethereal to listen to the caller ID info, here's an example text: ..k..h.....`..E..I9d@... ..........|).....Ey.YP.......@CALLYAC Test Call ~(425) 555-1212 As I can tell by looking at the hex editor and packet information, the MAC Destination are associated with "..K..h", the source are associated with ".....`", a type (IP) with 0x0800 which is associated with "..", next is Internet Protocol (E..I9d@.. .........), Transmission Control Protocol that contains source port, destination port, seq, ack, and len (don't know what seq and ack ...Show All

  • Visual Basic Multiple communication instances

    Hi Guys, The GUI s/w running on the PC allows the user to select a variable from the list of variables. These variables are globals of an application running on the hardware board. The GUI basically acts as watch window on these variables whose data is subject to change at run-time. At any given point of time only a single variable can be monitored from one GUI. The GUI has the following buttons: 1. Read the variable data 2. Modify the variable data with the user input data 3. Read the variable data continously till the user clicks stop button.(Stop button is present on the same GUI) To monitor multiple variables, another button is provided on the GUI which when clicked opens a similar watch window GUI(instance). The PC s/w and the b ...Show All

  • SQL Server SSIS execution error

    Hi I am getting this error when I try to execute a package source is oracle and destination is sql [Source [1016]] Error: The AcquireConnection method call to the connection manager "Oracle_test" failed with error code 0xC0202009. It was working fine until I changed the Connection to New Connection from Data Source. Yes I am able to connect to Oracle and I've tested the connection in the package, during design time it shows "Test Connection Succeeded" and preview shows the results also but at during runtime I get this error. And if I change it back to Oledb Connection instead of Connection from Data Source it works fine. ...Show All

  • Software Development for Windows Vista ExpandableObjectConverter and activity binding

    I am using a custom type converter derived from ExpandableTypeConverter to expose the individual fields of an object. The editors for the individual fields do not support activity binding. Is there a way that I can expand the fields of an object and have activity binding on them Override the GetProperties method and when you return the type descriptors, and return custom type descriptors that you write. The SQL database activity sample has an example of a custom descriptor that gives you activity binding on the dynamic properties. http://wf.netfx3.com/files/folders/communications/entry837.aspx matt ...Show All

  • Visual C# Thread and GUI

    Hi, My problem is: When the applications is started, I create a frame (with button and other components) in the principal thread. Later, i create an other Thread and i attempt to modify the frame in the second thread, but it doesn't work. I got this error message: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll How can I solve this problem Thanks take a look at this also: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=564275&SiteID=1 ...Show All

  • Visual Studio 2008 (Pre-release) Loosely coupled servers: Datacontracts and proxy question

    Hello All. Would you please take a look at a design problem I have with WCF. We use a component based architecture and are looking to use WCF in a server to server environment. One server is the data provider and 3 identical servers are the consumers. We are struggling to keep the servers loosely coupled. Therefore the Provider has a simple service contract, which a consumer calls on startup to get initial data: [ServiceContract( Name = "PriceProvider", Namespace = " http://www.mw.com ")] public interface IPriceProvider { [OperationContract(IsOneWay = false)] List<Price> RequestAllPrices(); } Every minute we want to push changes (via timer) to the consumers. Therefore the consumer ...Show All

  • .NET Development “The system cannot find the path specified” when calling the web services

    I got this error when I call the web service (on a Windows 2003 web server). I didn’t get this error when calling the same web service on my localhost. I am new to .net. Please help!! What error you get when you go via IE Well, if you try accessing the service through IE on the server itself, what happens Are you able to access the service on the same machine but not on other machine> ...Show All

  • Windows Forms Adding events tab to a propertyGrid...

    Anybody know how in simple form so even I can understand -Devin I'm not entirely sure, but on the object in question, you have to mark a function as browseable and stuff. See System.ComponentModel. <Browseable>_ Sub DoSomething() ' Enter code here End Sub Cheers, Rick ...Show All

  • SQL Server Hide Dcoument Map by Default while viewing the Report in SSRS

    Hello Experts I use a Report where i have a document Map getting generated. but by default it is displayed and the user has to close the window to view the report. i wanted to know if its possible to hide the Document map window by default and based on the click of the icon the window will be show to the user when viewing in the default Report page. /chandresh soni Did you already try the URL access parameter: rc:DocMap=false HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network