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

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

sajithpt

Member List

NET PR
winstonSmith
Advectus
espeir
eveningjazz
etones
WilsonR
Dawid Mostert
Moustafa Arafa
Lucas Condé
cbpd86
MathiasR
fasttrack
Tadwick
danadanny
neuhawk
Malik Faisal
Girish Gangavathi
hchavali
LISA86
Only Title

sajithpt's Q&A profile

  • .NET Development StreamReader, Regex and memory

    I am using StreamReader's method ReadToEnd() to read an entire file in to a String. I then use a Regex to parse some content from the file. I do this two times for each file to get all the data i want from it. The first regular expression looks like this: String^ regexData1 = "<tag>( <Occurrence>.* )</tag>"; Regex^ regOccurrence = gcnew Regex(regexData1, System::Text::RegularExpressions::RegexOptions::IgnoreCase | System::Text::RegularExpressions::RegexOptions::Singleline); This is working just fine for now and whit smaller kinds of files. But I would like to learn how to parse larger files. I suppose that I can't use ReadToEnd() with really large files. I could use ReadLine() instead to parse ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Content Pipeline Interfaces

    Hi, we stand in front of a real big problem, becaus we lose really a lot of time waiting for the new content pipeline. Because we develope a commercial project time means money. I can understand if you cant release the content pipeline before the holidays, but we also must continue our development. Is it possible to release a next beta, with full documentation of the Content-Pipeline-Interface, so that we can continue our development I want to know, how i can Load Sound-Files, Models, Textures and all the other stuff with the content pipeline. I have seen, that the complete loader is available. Perhaps you can support us with some example XNB-Files, which we can load. The Model loaders in the beta release ...Show All

  • Visual Basic EMAIL

    I am using this code in vb.net 2005 to sent an email but an error FAILURE SENDING MAIL is allways appearing. Can someone show me where I am duing wrong. Try Dim SmtpClient As New System.Net.Mail.SmtpClient SmtpClient.Host = "localhost" SmtpClient.Port = 25 SmtpClient.UseDefaultCredentials = True SmtpClient.Send("glennzarb@gmail.com", "glenn_zarb@hotmail.com", "Test", "hi") MsgBox("sent") Catch ex As Exception MsgBox("Send failure:" & ex.Message) End Try I haven't installed any other programs or smpt's Again, it does not matter about the email service that a person is using but rath ...Show All

  • Visual Basic New project-needed help with many features

    I just started using vb 2005 express for a school project, so I'm quite unfamiliar with it. I would like to do some advanced "add" features, which I need help with: 1. Not be able to proceed to the next form unless all fields are filled in. Get a warning message when pressing the "confirm" button. 2.Allow more then 1 radio-button to be pressed in the same form. 3. Generate random pictures (validation pictures) each time I open the add form. You have probably seen these things before on website registrations (write down the code you see in the picture).  4. Each picture should have a code, which must be written in the field below to be able to proceed to the next form. Once again, the same feature ...Show All

  • Visual Studio 2008 (Pre-release) How to move ListBoxItem up and down in ListBox?

    Hi, can any one tell that how can move the ListBoxItem up and down in a ListBox.I am able to delete specific item but not able to move them. Hi I want to give this facility to the user, i.e he selects the ListBoxItem and then he presses the move up and down button. If u have any sample code for this please send me.I have done this in .net(ver 2) but i am not able to this in wpf. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. how to get input from various keyboards with directinput

    First sorry for my bad english... I want to get input from various USB keyboard, and I need to know from which keyboard I get the keystroke, I prove the directinput objects in VB 2005. This are the code that I use in the declaration section (in this case I use 2 USB Keyboard) Implements DirectXEvent8 Private MiDirectX As New DirectX8 Private MiDirectInput As DirectInput8 'the object to my first keyboard Private diDev As DirectInputDevice8 'the object to my second keyboard Private diDev2 As DirectInputDevice8 ' Private keyState As DIKEYBOARDSTATE Private keyState2 As DIKEYBOARDSTATE Private ManejaEvento As Long Private ManejaEvento2 As Long ------------- ...Show All

  • .NET Development Problem with a configuration file

    Hello, I have this configuration file: < xml version="1.0" encoding="utf-8" > <configuration> <configSections> <sectionGroup name="publishers"> <section name="publisher" type="System.Configuration.NameValueSectionHandler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" /> </sectionGroup> </configSections> <publishers> <publisher name="HotWired"> <add key="regEx" value="^http://hotwired\\.goo\\.ne\\.jp" /> <add key="pathDestinationFile" value=&quo ...Show All

  • SQL Server Force at least one parameter (2K5)

    I am trying to build a report that has about 6 different parameters. All of the parameters have been set to allow null, however, I would like the user to put in at least one "search" criteria in order to run the report. How would I be able to do that In addition, when I am viewing the report, it automatically runs and does not wait until I click "View Report". How can I set it not to execute when the report is viewed, but when the user clicks the button Thanks The program will not allow you to set a blank default value with the "Allow Blank Value" checked. Thanks for trying ;) ...Show All

  • SQL Server Not able to receive the mails

    Hi, I have an application which has to send mails based on some conditions using sql server notification services. The problem i am facing is that i am not receiving the mails even though the delivery status description is Delivery Succeeded. Could you tell me where exactly the problem lies. Thanks in advance. Are you using the local SMTP service on the box Or are you using an Exchange Server somewhere else on the network If the former, check the c:\inetpub\mailroot folders to see if your messages are stuck in there. If they are, check to ensure that the SMTP service is running on the local box. Are you using 2000 or 2005 HTH... Joe ...Show All

  • Visual Studio In Copy-Modify-Merge can you force a get if local version is not based on the latest?

    I'm switching to the copy-modify-merge model. As I understand it, if the version a file has been checked out against is stale, sourcesafe does the merge on checkin whereas in TFS and SourceGear Vault you are forced to get a latest version and do the merge locally before checking in. The latter seems to me to be a much better practice -- is there a way to get this behavior in sourcesafe In the event that you cannot do this, is there a way (even if through a third party add-in) that I can see a list of local files that I have made changes to that will require a merge on check-in (i.e., files that other users have updated since I last checked them out) At least this would allow me to exercise some care with the files that will be merged on ...Show All

  • Visual Basic Visual Basic Visual Studio 2005 Debug.Write doesn't work

    I recently purchased Visual Studio 2005, and am trying to learn Visual Basic .net via an on-line class. Most of the less on s are very simple short programs to write messages to the Debug Output Window. For example: Public Class Form1 Private Sub Form1_MouseMove( ByVal sender As Object , ByVal e _ As System.Windows.Forms.MouseEventArgs) Debug.WriteLine(e.X & "," & e.Y & " " ) End Sub End Class However, when I run it in Debug/Start Debugging, I see nothing at all appear in the Debug Output window. I asked the instructor about it, and he has no clue, but says the code works in VB 6. Does anyone know what might cause that David ...Show All

  • .NET Development directory deletion adn recreation

    Hi, i am facing problem in i have a project directory which contain some useful files and some waste files. project directory hierarchy is as follows Project directory -- directory1 --- subdirectory with waste files --- useful files -- directory2 --- subdirectory with waste files --- useful files now i want to delete the directory by copying useful files out and then after recreating the directory ,i wish to copy the same files back to their hierarchy. Can anybody send me code for this in c#. regards I can't provide you the code as there are too many scenarios you need to decide how to answer. However I will provide you the general algorithm. ...Show All

  • .NET Development Problem uninstalling assembly in GAC

    Hi all... When I try to uninstall a component I created and placed in GAC, using any method (using .NET configuration TOOL, by choosing uninstall using Windows Explorer or using GACutil) I receive this error message: Assembly: VidaSecurity.Common, Version=1.0.1.0, Culture=neutral, PublicKeyToken=4521d44f885b6246, processorArchitecture=MSIL Unable to uninstall: assembly is required by one or more applications As far as I know, this assembly isn't used by any running component. It is used for some web sites, so I tried to uninstall it by first stopping web service, but without success. Any help to uninstall it would be greatly appreciated Thanks Jaime This is the whole message that appears when using gacutil : ...Show All

  • Visual Studio Team System Contributors can edit TFS Project Group Membership?

    Hello, I’ve searched a lot about this issue but without any conclusion. I’ve created several projects where I’m Administrator and others are project contributors. This way I could prevent them from deleting projects and so on… But one thing I don’t understand is that they can edit group membership and add them as project administrators. I want them to be able to add documents, source code, etc… but don’t want them to be able to delete TFS projects, create builds, etc… What do I have to configure to do this I was expecting that contributors couldn’t edit Group membership. I would appreciate your help. Best Regards, Rui Dias By default, contributors do not have p ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th Hmm... State location and phone number seem to be USA specific. An oversight, or is the rest of the world excluded ...Show All

©2008 Software Development Network