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

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

m_3ryan

Member List

redhanz
mrP
Carl In Milford
Rostik Slipetskyy
Jamie Thomson
ahmedilyas
srfitz2000
Amit Sharan
caahsc
Dwight Kulkarni
Lawrence 007
sally_de
fj64
JohnLi
logtorahul
SoulSolutions
venup
Patrik J
leovernazza
Perisse
Only Title

m_3ryan's Q&A profile

  • Visual Basic Encrypt in VB6, decrypt in VB.NET? (and vice versa)

    I use DES Encrypt and Decrypt routines in VB.Net2003, using System.Security.Cryptography - something like:     Public Shared Function DESEncrypt( ByVal strKey As String , ByVal strData As String ) As String         Dim strValue As String = ""         If strKey <> "" Then             ' convert key to 16 characters for simplicity             Select Case Len(strKey)                 Case Is < 16          & ...Show All

  • Visual Basic Web Browser Popups

    Hello everybody, I have created a successful webbrowser in VB Express Edition 2005, with all controls (back, forward, stop etc..). Yet when a link is clicked which opens a new window on a website, it always opens in internet explorer... how can I prevent this from happening Thankyou Ben wb.navigate( http://microsoft.com )   '<-----  Navigate property This needs to be in an executable pathway (routine, procedure, property, or method). Does this make sense The event occurs asynchronously after the browser had navigated. It is not essential that you do anything in the event. You may want to do something when the page is full loaded when correspnds to documentcompleted event What goes there Whatever ...Show All

  • SQL Server Subscription without snapshot doesn't work

    Hi all, I'm very very frustrated with this problem, I used to give maintenance to my database replication, disabling distribution and establishing the publications and subscriptions again from zero. This way metadata were clean up, and I was sure of that. When I migrated to MS SQL2005 I can't do this anymore, because drop rowguidcol at subscribers and publisher. The DB average size is 15 GB. And now this weekend I found the problem where the subscription try to apply the whole snapshot (15 GB! ). I don't know what to do PD Sorry for my english. Sure, With MS SQL 2000 sp3: I'm using merge replication, and to make a clean up, I disabled the distribution for asure that the distrib ...Show All

  • Visual Basic Do I need an addin to print barcode in VB2005?

    I'm looking into purchasing VB2005 will I need more purchasing to be able to print barcode (128) Where can I find sample codes for doing this   Hi, Take a look at these screenshots.>> get the program demo from >> http://www.tec-it.com/asp/main/startfr.asp LN=1 under the downloads section. It can deal with loads of barcode styles, not just CODE128 http://i13.photobucket.com/albums/a272/u-might-want-this/Barcode_Prog_View.jpg   http://i13.photobucket.com/albums/a272/u-might-want-this/Barcode_Site_Pic.jpg   You can print off samples only one at a time in different widths and heights, with or without the number shown above or below the barcode. Only it has the wor ...Show All

  • .NET Development Anti-XSS Library errors

    After many long hours of trying to get a precoded service connector to work properly on a shared host, I came across some findings: - Directory access capability sucks/is impossible/is nil - Doing anything that requires elevated security priveledges means your screwed, and have to rewrite your code - Special string parsing requires elevated security priveledges It makes sense for the first two, and they are almost common sense, however the third one threw me. I was using the antixsslibrary.dll written by Microsoft in the local environment, where security priveledges are defaulted. When I switched over to the shared hosting, I came across multiple errors, namely the string parsing error. (this was done a while ago, curiosity is bringi ...Show All

  • Visual Basic AddHandler Error (need help)

    Hey i keep getting a error where its says AddHandler instance.NewWindow, handler [code] Public Event NewWindow As System.ComponentModel.CancelEventHandler Dim instance As WebBrowser Dim handler As System.ComponentModel.CancelEventHandler AddHandler instance.NewWindow, handler Custom Event [/code] my visual basic says its a syntax error so can anyone help me please i've looked every where to try find out how to fix this but i'm a nooby at the program etc.. but i'm learning quick so if any one nows please can they help me thanks. Two interesting articles. http://www.thescarms.com/dotnet/EventHandler.asp http://www.devsource.com/article2/0,1759,1769341,00.asp Normally you would be co ...Show All

  • Windows Forms PrintDialog & PrintDocument are Printing The Document With Out Text.

    I am using PrintDialog and PrintDocument in 2005 for printing a document. Even Though the document is having data in it the out put is not having the data. i wrote code like this can any one fix this. PrintDialog objPrintDialog = new PrintDialog (); System.Drawing.Printing. PrintDocument objDocument = new System.Drawing.Printing. PrintDocument (); objDocument.DocumentName = "C:\123.doc; objPrintDialog.Document = objDocument; if (objPrintDialog.ShowDialog() == DialogResult .OK) { objDocument.PrinterSettings = objPrintDialog.PrinterSettings; objDocument.Print(); } Thanks for your help sriram, But i dont think so it can print the document on paper. Why becu ...Show All

  • Visual Studio 2008 (Pre-release) WPF Extensions for VS2005 Problem

    I have downloaded .NET 3.0 final edition and installed VS2005 but the WPF extensions setup says it did not detect .NET 3.0. Does anyone know when there will be a release of WPF Exts. that supports the final .NET 3.0 Hi all, I am facing the same problem while i am installing wcf templates. Last time i installed it successfully. But i formatted my system and try to install wcf ctp. I have installed all prerequisites, but the setup says it couldnt detect .net framework 3.0 runtime. thanks in advance. Regards, Nandhu ...Show All

  • Visual C# ignore mouse down event

    I'm new to C# programming, learning it for pleasure on my own time. As an exercise, I'm creating a simple Windows program that 1) takes the mouse-down event as an 'anchor' point, 2) while dragging the mouse around continually draw a line from that anchor point to the current mouse position, 3) once the mouse-up occurs, shrink the resulting line down automatically until it disappears. Not too hard, and it works perfectly fine. My problem is that I do not want the Form to accept any mouse-down's while the shrinking logic is occurring. Currently, while the line is shrinking, I can do some more click-and-drags, and once the shrinking completes, those subsequent lines are drawn/shrunk in like fashion. I want to effectively ignore any mouse- ...Show All

  • Visual Studio Programmatically display Add Reference dialog

    Hi, Is there any way I can reuse the standard VS2003 IDE Add Reference Dialog from my custom project type. How can I display it from my VS2003 package Thanks, Nitin You would have to get the SVsComponentSelectorDlg service and and pass in your implementation of IVsComponentUser The implemtation details on how to do this can be found in the base class ProjectNode which is part of the MPF PRoject sources. You can also look in the reference documentation http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.shell.interop.ivscomponentselectordlg(VS.80).aspx /Ole ...Show All

  • SQL Server Duplication in the primary key column

    Hi I have a set of excel files that i need to export to sql2005 using ssis. Now the issue is that i have no idea about he data ie it may have duplication in the primary key column. If i export it as it is to sql server, it will cause me problems. Is there any way i can filter out the rows which have duplication in the primary key column Umer Couple of choices - Use the Sort or Aggregate transform to produce unique rows only Use a lookup to detect duplicates that already exist, but not really effective for duplicates within the same file. Import the data and just ignore or redirect errors. See Handling errors in SSIS - MSDN Forums, ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=747048&SiteID=1 ) ...Show All

  • SQL Server Parent-child variable issues that may impact deployment

    We are using SSIS for the first time. My team is working on a project that involves putting a date time stamp into a series of tables. These tables are being assembled in a series of child packages being executed by the parent. When the parent runs, we evaluate our timestamp variable as a GETDATE() expression and pass it to the children to be included as a derived column. We don't want the actual runtime of each step to be the timestamp, just the start of the batch (parent). In order to get the variable to pass over to the child, we needed to set the package location to "file system"instead of "SQL Server". It seems unusual that this would be so. Are we doing something wrong What implications does this have for d ...Show All

  • Visual Basic Issue with viewing errors in the IDE

    I have tried to view my errors by using the IDE. However, when I click on > View >> Errors I do not see the error list window. I only see if I run DeBug and click on the "Yes" to continue even though there are errors. Does anybody have any idea how I restore the ability to view my errors Thank you! So you are not seeing the Error list window Or you are seeing the window and not the errors (The prior response was assuming you could see the window but not the errors in the window.) Is it possible that the window is just off the screen Try resetting all of the window positions to their original positions and then viewing the Error List window again. ...Show All

  • Smart Device Development Application is lost when power goes off

    Hi, I have created a C# .Net Compact Framework application which runs well on PDAs. The problem is that when the battery goes completely flat, my application which was installed is also gone. So user has to reinstall the application when they bring back power How Can I avoid that . Regards Mani Yes, Windows CE 5.0 is different from Windows Mobile 5.0. Windows CE is highly customizable modular OS and Windows Mobile is a particular customization of Windows CE with special UI, set of PIM applications and persistent storage. ...Show All

  • Audio and Video Development Problem with mixer devices

    I have a problem with sound devices on my computer. There is no sound when i try to play a file on windows media player or similar program however i can hear sound when windows opens or shuts down. When i click on volume control it says; " There is no mixer devices available. To install mixer devices,go to control panel ... etc" I did what it says but the same problem occurs everytime i turn the computer on. Please suggest me what i can do to solve this problem.. You might want to try the following two places for your post: Windows Media Player newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.player& ...Show All

©2008 Software Development Network