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

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

vipulparmar

Member List

PurdueMan
Leyan
AlexHaan
bitbonk
ST1
redneon
Cherian
Sheng1983
Hendrikbez
ihatems2
Dordorgum
MShetty
GoDaddy
Venkata Prasad K
Marcus J
satish_k
Scionwest
Mazeno
vicky_dceian
enric vives
Only Title

vipulparmar's Q&A profile

  • Visual Studio 2008 (Pre-release) June CTP - An approach to DataContract with custom xml schema validation

    Though IXmlSerializable interface provides full control over types, we wanted to use DataContract types as it is touted as the way to go in the WCF. At the same time, we wanted to add restrictions to data members. Some of the examples for restrictions are: An integer value must be between 10 and 20, a string length can not be more than 20 characters etc. There may be element validations as well. Currently there is no way to enfoce these restrictions with DataMember attribute in a DataContract type. We have come up with one possible implementation on how to achieve this. We wanted to use the data contract serializer but add our schema validation only after the data contract serializer done its job. Please let us know if you have any comm ...Show All

  • Smart Device Development check if device connected or not

    Hello sir/madam, I need some sample codings in vb.net so as to know whether my SmartDevice is connected to my USB drive/PC or not any clues ello Sir/Madam, I am developing a PDA smartdevice application where data is stored in sqlce and then i am synchronizing this data with sql server 2000 database server. Before synchronization, i want to check if my PDA is connected to the PC or not. Is there any clue for developing this code in vb.net if i am not wrong, PDA devices are connected to USB devices, so i wil need sample code in vb.net for detecting my PDA with PC. Suggestions ...Show All

  • Visual Basic Dataset updates using grid view

    All, Right i'm not a dataset man..i'm old school stored procedures read em in read em out kind a guy. However i'm willing to change.... I need to create a datatable with dataset of order items and bind it to a datagrid which is all good. However the user will insert , delete, and update new / existing rows. How do i identify which of these rows have been inserted, updated, deleted etc. I'm assuming you can use the rowstate option when interating through the datatable...however... (1) If the user deletes a row from the table... would the datatable know that a row has been deleted and if so how do i process it (2) If the user adds a row and then modifies it... does the datatable treat it as a new row or a modified one or both ..and how do i ...Show All

  • Software Development for Windows Vista Spurious 'device in use' error from waveInOpen and IAudioClient::Initialize

    I have discovered what appears to be a Windows Vista bug. If I change the default recording device in the Sound applet (mmsys.cpl) while an application is recording, all future calls to waveInOpen (WAVE_MAPPER, ...) or IAudioClient::Initialize for the default audio endpoint fail with error code MMSYSERR_ALLOCATED or AUDCLNT_E_DEVICE_IN_USE respectively. To demonstrate the problem, proceed as follows: Start SoundRecorder Start recording While recording, go to the Sound applet and change the default recording device Stop recording (and save the file) Try to start recording again SoundRecorder then reports 'An audio device cannot be found' Restarting SoundRecorder does not help The situation can be resolved by ...Show All

  • Smart Device Development SetFilePointer Problem

    Hi I am new here. I am writing because I am having a problem I wasn’t able to resolve. I am using the SetFilePointer function in my mobile project. The problem arise when I try to test it in my emulator. The SetFilePointer function moves its pointer in the oposite direction. When I pass a positive value to the method, the file pointer moves backward. And when I pass it a negative one, it moves foward. This only happens when the dwMoveMethod it’s set to FILE_END. When I run the program in my ppc it works fine, just like the documentation explain. Maybe I am doing something wrong, does anybody have the same problem. I try to search in the forum and no post for SetFilePointer was found. Also, I not sure if this is the right forum to post. My ...Show All

  • SQL Server Can we use DTS to import PDF and MP3 into SQL Server 2000 table?

    I've got a situation in whcih I have to import PDF and MP3 files into SQL Server 2000 table. Thanks, YL Store them as binaries using an image datatype in the table. Look at this post for a good code example... http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=688850&SiteID=17 Brad ...Show All

  • Visual Studio 2008 (Pre-release) Inherited List class as DataMember

    Hi Im trying out WCF for the first time and have hit a small snag. In my project I have a class called Passenger which simplified look like this <DataContract> _ Public Class Passenger <DebuggerBrowsable(DebuggerBrowsableState.Never)> _ Protected mAge As Integer = 0 <DataMember()> _ Public Property Age() As Integer <DebuggerStepThrough()> _ Get Return Me.mAge End Get <DebuggerStepThrough()> _ Set(ByVal value As Integer) Me.mAge = value End Set End Property End Class I then have a strong type collection of Passengers with an additional method <DataContract()> _ Public Class PassengerList Inherits List(Of Passenger) Public Function FooBar() As Boolean ...Show All

  • Visual Studio Express Editions richtextbox question

    Hi I want to display content of txt file in richtextbox. Is there any way that I can do it. This comand displays an error: "File format is not valid" RichTextBox1.LoadFile( "c:\giorgio\2006\july\14\ff dd 07-14-2006.txt" ) Me . RichTextBox1 . LoadFile ( "c:\giorgio\2006\july\14\ff dd 07-14-2006.txt" , RichTextBoxStreamType . PlainText ) ...Show All

  • Software Development for Windows Vista Workflow Persistence and tracking -Error

    Hi, I am getting this error while trying to access sqlTrackingWorkflowInstance.ActivityEvents ActivityEvents 'sqlTrackingWorkflowInstance.ActivityEvents' threw an exception of type 'System.Data.SqlTypes.SqlNullValueException' System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.ActivityTrackingRecord> {System.Data.SqlTypes.SqlNullValueException} What might be the problem Looking forward to some inputs to fix this Thanks kesh Which version of WF are you using make sure, you've updated the tracking db with the latest sql scripts. Location: <drive>:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN\Tracking_schema.sql followed by ...Show All

  • Visual Basic CRC32 on VB

    Hi, i would like to make a crc32 checksum of a string... but i don't know how to do it, and can't find anything that can help me! Do you know how to do it ! See the following for more help: Calculating CRC32 (and MDA5 and SHA-1) From .NET ...Show All

  • Visual Studio 2008 (Pre-release) MaxiVista makes WPF unusable

    I started a similar thread on Channel 9 , but on Rob Relyea's suggestion I'm moving it here. Here's my orginal question: I downloaded .NET 3.0 RTM today and installed it on my Windows 2003 Server development server. I tried double clicking on a XAML file and the system went nuts: the screen flashed, the mouse kept moving to the center and corners of the screen, etc...  It looked like my machine was taken by the Indigo/Avalong ghost...  Finally I had to bring up task manager and kill IE. I tried multiple times, with different XAML files.  I tried uninstalling and re-installing, downloading the fast installer and the full re-distributable (50 MB).  No luck - WPF just doesn't seem to work. I've been u ...Show All

  • Customer Care Framework Multi Language support in CCF

    Can we have multi language support in CCF. I identified that there is strings.resx resource file which it is referring to and loads all the labels text when the CCF starts but I am not able to understand how to configure my own resx file so that when ever i change the selection for language, it should change the labels in the Agent dektop. For selection I want to have a dropdown for the agent to select his language. CCF uses the .net localization system to support multiLingual support.. there are several good articles available on this subject on MDSN and other places... a good starting point is here : http://msdn.microsoft.com/msdnmag/issues/06/08/BasicInstincts/ While this article focus in on asp.net the principles are the same ...Show All

  • .NET Development Can't see the Asp .Net V1.1.4322 Performance counters

    Hi: I'm a software Enginering of QA for application in .Net I use a lot the performance monitor included in the windows OS, normaly I can see the application runing in the ASP .Net, I just need open the monitor and choose the  ASP .Net Apps V(Number of version), recently we migrate some applications to a 64 bits server and  actually is not possible see the applications runing in the Version 1.1.4322 In a 32 bits server I can see a counter for all version of ASP .Net Apps. some idea about this issue I need run some update or witha 64 bits server I will don't allowed to see the counters Thanks a lot. Hopefully, this should work set you in the right direction - http://forums.microsoft. ...Show All

  • .NET Development Best/fastest way to save a large DataTable a database?

    Hey, Whats the best way to save a rather large DataTable to a database It consists of roughly 60 columns and 15 thousand records (6MB of raw text). I was thinking of using a stored procedure but would that give any performance increases on an operation like this Thanks! Regards, Weiran. Thanks for your reply. Unfortunatly I still have to use .NET 1.1 for this project so I can't use SqlBulkCopy. Is this 10MB size limit one that would affects the performance, or can I just not send more than 10MB ...Show All

  • .NET Development Can I build a chat server/client app with .NET remoting?

    Hi, I want to build a chat application where clients with windows app clients can chat. Nothing very fancy like MS Messenger, just plain simple chat. Can I do this with remoting or I have to go to sockets (notvery familiar) The part that I have trouble understanding is how the server informs the clients when someone sends a message to A, B and C cilents. Is the clients have an open connection with the server or is polling Thanks in advanced.. Hey check out this chat site, http://chat.roselinsofia.com ubercoder wrote: Hi, I want to build a chat application where clients with windows app clients can chat. Nothing very fancy like MS Messenger, just plain simple chat. Can I do this with r ...Show All

©2008 Software Development Network