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

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

PaulDev

Member List

Shimi Tavori
Giten
Ghoort
dragoncells
ChillyWilly
allenwfc
chongqing
DeadDante
zhu.zheng
Bhanu Prakash Nunna - MSFT
TFCNE
KBar II
Misbah Ahmad
thekaran
ashk1860
IS dude
dreameR.78
AlexU
Abhilash CR
raghu_grdr
Only Title

PaulDev's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Is the XNA Game Studio Express supposed to look exactly like Visual C# 2005 Express Edition?

    I just downloaded XNA Express 1.0 and I looks just like Visual C# Express Edition that I downloaded a week ago. It even says Visual C#.......... and I dont understand why. Also I could never start a new project because there were no templates to select. Does anyone know what my problems are and how I can fix them. To properly install on Vista, you'll need the SP1 beta release of Visual C# Express (available on MSDN) before installing XNA Studio. You don't have to start an elevated command prompt or anything like that. Just double-click the MSI or hit Open in the Open/Save dialog and it will ask you to elevate during the installation process. ...Show All

  • Visual Studio Express Editions How to use the image file in the resource?

    Hi, How to use the image file in the resource I used to use bitmap("C:\..."). Now I want the images be integrated in the compiled file. thanks, Frank I found a few links that explains using embedded resources. It is quite straight forward. http://www.jelovic.com/articles/resources_in_visual_studio.htm http://www.codeproject.com/dotnet/embeddedresources.asp Check "embedded resources" in MSDN for more... ...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

  • Visual Basic Updating a Access Database from Visual Basic

    Hi. I'm havng trouble with updating my Access database from Visual Basic. There are no problems when populating datasets from the database, but as I try to update it after some changes, nothing happens.. Anyone got an idea Hege Now I've got the following code (The OleDbConnection3 is already defined.. ) OleDbDataAdapter1.SelectCommand = New OleDbCommand(("SELECT * FROM Kunde"), OleDbConnection3) Dim cb As OleDbCommandBuilder = New OleDbCommandBuilder(OleDbDataAdapter1) OleDbDataAdapter1.Fill(Kunde) 'Making changes to the dataset..' OleDbDataAdapter1.Update(Kunde)   But it still not work. I'm starting to feal realy stupid, have use much time on this si ...Show All

  • Visual Studio 2008 (Pre-release) What does OptimisticConcurrencyMemberConflict.Resolve() actually do?

    In the DLINQ Overview for C# document, in the OCCR section, there is an Example 6 on page 67-68 (physical, not Word numbered). In that example, there is a try/catch around the first SubmitChanges() call. In that catch, the code enumerates through the OptimisticConcurrencyException.Conflicts collection. The code then calls the Resolve() method on each Conflict. Then it enumerates through each Conflict's collection of OptimisticConcurrencyMemberConflict objects. If a member conflict object has the HaveModified flag set to false, it then calls the Resolve() method on that member conflict. I have two questions. 1. What is the member conflict's Resolve method actually doing From what I can detect, it is doing nothing. You might want t ...Show All

  • SQL Server datetime convertion in SqlServer 2000

    SqlServer 2000 with SP3. RepTime is a datetime in TableA. I ran the two commands beblow: SELECT distinct CAST([RepTime] AS INT) FROM TableA 39004 39002 39003 select max(RepTime),min(RepTime) from TableA 2006-10-16 10:36:03.940 2006-10-13 17:32:00.080 From 2006-10-13 to 2006-10-16, there are four days. But I got three distinct int from it. Anyone knows Lucky P wrote: That's because converting to INT don't care of Hours/Minutes/Seconds, just using the Days to separate. Nope... Time is big concern here Lucky P ...Show All

  • SQL Server MSDE Multiple Instance

    I am trying to set up multiple instances of MSDE 2000 for use by Trend Micro virus scan products. I have the instance set up but I am trying to access svrnetcn.exe to set up named pipes and TCP/IP and I keep getting a 126 error "The Specified Module could not be found". Any ideas how to set this up. thanks, eric This seems to be a general Windows error that indicates that you are either missing certain DLLs that are required to launch this program. The only information I found on this specific to SQL is at http://www.experts-exchange.com/Databases/Microsoft_SQL_Server/Q_21455359.html . Check that out and see if it sheds light on your situation. Mike ...Show All

  • Visual Studio Get Length of Report Document Before Printing

    I have an application in which I need to warn the user and give him the opportunity to cancel when printing a CR document over a certain number of pages. Currently, the application creates the report document and displays it in a CR Report Viewer control. When the user clicks the print button, the application sets the document's print options for a specific (wide carriage dot matrix) printer, then calls the PrintToPrinter method on the document. Is there was a way to programatically determine how many pages the document will print before sending it to the printer ...Show All

  • Visual Studio Express Editions how to make a rich textbox print

    A friend and i mades text editors and we wanted to know how to make the docyument print thanks ahead Josef Stalin i know how ungrateful this will sound so please try to take it as a question and not as criticisim, but why do people keep posting C# and C++ code (and code links) into the VB Area. thanks anyway, much appreciated. Josef Stalin ...Show All

  • SQL Server Using NonLeaf.Datamember's value in CustomRollup

    Hi all, On http://www.sqlserveranalysisservices.com/OLAPPapers/Loading Aggregate Data in AS2005v2.htm there is a good MDX script example how to override aggregated values for non leaf members by values from .Datamember. Example from that page: Calculate ; this = iif ( not isleaf ([Product].[Parent Product]. currentmember ), iif ( not isempty ([Product].[Parent Product]. currentmember . datamember ), [Product].[Parent Product]. currentmember . datamember , Aggregate ( [Product].[Parent Product]. currentmember . children ) ), measures. CURRENTMEMBER ; Now I'd like have similar behavior, but define it for certain members in CustomRollup formula ...Show All

  • Visual C# how does Windows do it?

    I had a couple of general questions about Windows. If I am posting in the wrong area, please let me know where to ask: 1. When I plug in a digital camera (that does not mount as a drive) and open up the Windows explorer, I can delete images from the camera in Windows XP. How would I do this in code 2. Same question, but for Windows 2000 I know it can be done because Windows does it through a UI, but how is it done in code My ultimate goal is to make a program that will delete images from the camera programmatically. I have been looking for over a month so any help would be greatly appreciated. Windows Image Acquisition ( WIA ). ...Show All

  • Visual Studio 2008 (Pre-release) Pixel manipulation

    How do I change pixels in a bitmap I've only seen examples of creating new bitmaps from an array of values, but I need to be able to set pixels in an existing bitmap without the overhead of re-creating it from scratch every time. Can I lock bitmaps like with System.Drawing.Bitmap and manipulate memory directly Not in XBAPs of course, but for desktop apps I think you want System.Windows.Media.Imaging.WriteableBitmap I've never personally used it so I can't give you much more advice than that. David ...Show All

  • Visual Studio Team System ScriptsIgnoredOnImport.sql

    When I imported a schema from a SQLExpress Northwind sample, I got a message that some things were not understood. And a .sql file was generated for inspection: ScriptsIgnoredOnImport.sql, that contains: SET NUMERIC_ROUNDABORT OFF GO SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT , QUOTED_IDENTIFIER , ANSI_NULLS ON GO What should/can I do with this info Basically when you do an import of an object, these SET options are defined for that given object on the database. However our import script is unable to associate those SET options to the actual object. Consider importing a script containing a 1000 sprocs where each sproc has a different SET option we would have a hard time disambiguati ...Show All

  • Visual C# Barcode technology

    Has anyone here worked with barcode creation/scanning technology in C# before I'm looking for a best practice with using a specific standard of the technology and maybe some components I could use to generate the barcode image itself. barcodes are readed with a scanner and this acts as if it is keyboard, only it add standard a return character when it has readed the barcode.. so the program can detect it. Just Focus the textbox before scanning and catch the return key event on that textbox. To print barcodes, use a barcode font.. Just google for "barcode 39 font". Install the font in your "Windows/Font" directory. Now type in your text-editor the characters that must be encoded as a barcode, mostly numbers but ...Show All

  • Visual Basic Dealing with directory permissions while recursing the file system

    I am working on some code that displays the filesystem in a treeview. I want to avoid showing any directories or files for which the user does not have permissions. I tried the following code but it is not working. The last tree node displayed is one that causes an UnauthorizedAccessException Any help would be greatly appreciated. Private Sub BuildFromFS(ByVal node As TreeNode) Dim strDir As String = node.FullPath node.Nodes.Clear() Dim currFldr As DirectoryInfo Dim fldr As DirectoryInfo currFldr = New DirectoryInfo(strDir) Try If currFldr.GetDirectories.Length > 0 Then For Each fldr In currFldr.GetDirectories() If Not (File.GetAttributes(fldr.FullName) And F ...Show All

©2008 Software Development Network