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

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

WN3335

Member List

Prabu.
Mike Phillips
venp
Robert Kozak
Jonas.S
Alanu
Peoplestick
Soren D.
Pi314159
saibhuvan
Lonnie Barnett
Patrick Altman
Ha Duo
aybe
globemast
Christina Tabet
Douglas H. Troy
MeDave
mobigital
laja
Only Title

WN3335's Q&A profile

  • SQL Server Checkpoint file used by another process

    I have an SSIS solution with 8 packages in it. I have checkpoint turned on with the 'If Exists' option. Each of the 8 packages have 8 separate checkpoint files specified. One out of two runs will fail with one of the below errors: The checkpoint file \\xxxxxxxx is locked by another process. This may occur if another instance of this package is currently executing. Checkpoint file \\xxxxxxxx failed to open due to error 0x80070020 "The process cannot access the file because it is being used by another proces I have checked all the settings and everything looks fine, looks like the problem is when you have many Control Flow tasks in a package and if two of them are completed at the same time and they try to write to this fi ...Show All

  • Visual C# validat string start with 4 or 5 digit number

    Hi All, I'm able to validate if input string is number; however, is there anyway that I could validate if string is start with 4 or 5 digit number. String ValidateInput = comment.Trim(); Double InputIsNum; bool isNum = double .TryParse(ValidateInput, out InputIsNum); if (isNum) MessageBox .Show(InputIsNum.ToString()); else MessageBox .Show( "Invalid comment" ); One minor correction. The regular expression doesn't cope with the "starts with" condition. For example: string str1 = "xxx12345shkdj" ; will also return true (when it shouldn't). The regular expression should start with the caret metacharacter to indicate that the pattern must ...Show All

  • Visual Studio 2008 (Pre-release) Custom Control binding

    I've created a custom control that have two data templates: ViewTemplate ( when edit mode is false) and EditTemplate (when edit mode is true) . I have a problem with binding: a) when I use Content = " {Binding} " and < TextBlock Name = " View " Text = " {Binding Path=Name,Converter={StaticResource NameConverter}} " /> < TextBox Name = " Edit " Text = " {Binding Path=Name,Converter={StaticResource NameConverter}} " /> in ListView I get only one row of product name instead of list of products' names b) when I use Content = " {Binding Path=Name,Converter={StaticResource NameConverter}} " and < TextBlock Name = ...Show All

  • Smart Device Development How to use database for pocket pc application

    Hi I have a need to work on pocket pc application. Scenario: In general user will take database backup from database server to local system. User perform some changes to his local database based on his requirement. Again user connects to database server and click on update, local database should update to server database by informing each record status to the user. ex: record 1 updated / call closed do you want to update Here local database is going to be Pocket pc database and server database is on SQLDatabase. Can any one suggest best way to implement this feature in Windows Pocket pc, c#. I would appreciate your reply. Thanks, Hi I have a need work in pocket pc application. should I ...Show All

  • Windows Forms getting media files from a winform

    I am designing a winform client that should get around 30 media files (mp3, mp4 etc) in the size of 10 mega. every X minutes the client will check for updates, and if it finds any it should download the new media files from the server. what is the most efficient/fast way of transferring those file to the client 1. ftp 2. binary format with Windows Communication Foundation (and I can notify the client about changes so no need to check for updates) any other options or considerations (security ) ok, maybe i wrote the wrong thing. it's over the internert, not my own network. the media files are located in my server and the computers with the winform app are all around the world (for the sake of the ...Show All

  • .NET Development ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure ''.

    Each time I try to call a stored procedure, I keep getting: ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure '' . I stepped throught the code and I saw that the name of the stored procedure was actually passed to the Odbccommand comm. Method CreateConn() return a new connection containing the precise server and database names in my connection string ========================================================================== private void CreateSessionTable() { string sProc; sProc = "{call " + SP_CREATE_SESSION_TBL +"( )}"; string sessionID = Session.SessionID; OdbcConnection conn = CreateConn(); conn.Open(); OdbcCommand comm = new OdbcCommand(sProc,conn); ...Show All

  • Visual C# automagically adding "" {} () [] etc...

    I was at an MSDN event yesterday and the presenter enabled a setting in VS2005 that would automatically add a pair of quotes "" whenever the context was expecting it. I have looked in my options of VS2005 standard and I can't find an options which does this. I have found options which purports to automagically add braces {} when a new line is typed I.E. class MyClass { <these added when new line (enter key) typed. } However my system doesn't do this. Is there a master setting somewhere that enables these enhancements Thanks Edwin OmegaMan I never knew that, works on for and if etc as well. That is really useful. Wish I knew about that ages ago now. :) ...Show All

  • Visual Basic tips wanted for writing an edit-like console text editor for vb

    hi all       there's an old console program called "edit" that truly brings back memories of old times :)  i'd like to know how we can add more vb or .net specific editing functions to it such as automatic indent and syntax highlighting. something like those light-weight vi or emacs like editors in unix. of course i DO know that there's the free vb express version so why bother well i just want to learn vb programming from the process so anyone can give me some ideas about this project like what the structure of the project should look like, what .net classes i might mainly make use of etc in fact i'd also like to know if the source code for "edit" is availeble or is there any similar editors that' ...Show All

  • .NET Development WSE3.0 - Securing .net webservice using REL token

    Hi, I want to secure my wbeservice using REL token. I tried on net for same but coouldn't find any practical example for this. Can anybody give me the sample code for this Thanks in advace -Faby Faby, I could never find a WSE implementation for REL nor SAML tokens. WSE comes by default with UsernameToken, X509Token and KerberosToken implementations that was enough for me so I didn't even try to implement the REL token. I think the only thing you will find as help is looking at some others "custom" tokens implementations in WSE (just google it). And the "Web Service Security Guidance" from Microsoft Patterns & Practices group ( http://msdn.microsoft.com/practices/topics/appint/default.as ...Show All

  • .NET Development How to set value into struct member using reflection?

    Hi, We are currently trying to create a transformer application, to automatically transform entity objects from one entity to another. There will be two type of entity objects, the transformer should be able to transform from 1st group of entity to the 2nd group entity and the reverse. The 1st entity is a group of structs, and 2nd entity is a group of classes. The mapping fields are defined in configuration files. Currently we're using reflection to transform the entity. Example: Group 1 Entity: =============== public Struct Person{ Public PersonName Name; Public Address Addr; } public Struct PersonName{ public string FirstName; public string LastName; } public Struct Address{ public string Address1; ...Show All

  • Windows Forms System.net.mail in VB 2005

    Hi, I want to use the System.net.mail in VB 2005 to send BULK EMAIL, newsletters to subscribers. I can send mail allright, but how can i get a DELIVERY STATUS report to show which mails have been delivered, bounced, read...etc. Is there any property in the System.net.mail class If not , can anybody recommend me a solution ......any 3rd party Thanks, Alex ...Show All

  • Visual Basic Does VB2005 work on .NET Framework 3.0?

    Hello If I just have .NET Framework 3.0 (I don't have 2.0), do my projects work on the computer welll Thanks Can you tell me shorty what the main differences between .NET 2.0 and .NET 3.0 Is .NET 3.0 faster Thanks It's last question. ...Show All

  • Visual Studio Team System TFS Warehouse Processing Error

    First up, I have deviated slightly from the stock TFS install because we prefer to use Kerberos rather than NTLM for authentication. To that end, all TFS services and app pools are running under a domain account and SPN's for the HTTP service (both NETBIOS and FQDN) have been registered under that account. C:\>setspn -L DOMAIN\TFSSERVICE Registered ServicePrincipalNames for CN=tfsservice,OU=Service,OU=Generic Accounts,OU=User Environment,DC=domain,DC=company,DC=com: HTTP/SERVER1 HTTP/server1.domain.company.com All was working well, until recently when the warehouse process packed up. Processing was generating this error in the Windows Application Log: Event Type: Error Event Source: TFS Warehouse Event Category: ...Show All

  • Visual Studio Tools for Office Outlook: MAPI fields versus User Properties

    Hi, I want to improve an outlook addin which is using mapi fields (a lot) and this is generating abnormal behaviors in outlook, so now I'm in doubt to quit all use of mapi fields fo User Properties but I need some recomendatios or comments about using "mapi fields vs user properties" (or viceversa). Thanks, Mauricio. .NET languages have no support for accessing MAPI properties in versions prior to Outlook 2007. Therefore, the UserProperties collection would be the supported approach. What kind of behaviors are you seeing as abnormal ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game Levels like Quake?

    I found out from another website that there's an add-on (I think) for XNA Game Studio called XNA Magic that is supposed to load game levels made for games like Quake. Should I wait for XNA Magic or similar add-on before trying to create game levels Can I create game levels using XNA Game Studio only and a 3D modeler only Is it possible to create game levels that have two or more texture files I would recommend DeleD Pro ($69) or 3ds Max ($1999). Both make it easy to create models with multiple textures. In DeleD Pro, you select different faces and apply textures from the texture palette to them. In 3ds Max, you apply a multi/sub material to the mesh, then create textures as sub-materials, then apply those ...Show All

©2008 Software Development Network