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

Software Development Network >> Sam Tyson 92's Q&A profile

Sam Tyson 92

Member List

Rich A
Andreia M
Aleniko29139
Jonathan Stratford
AlexBB
Nilavu
batterhead
aCaen
CrystalDeveloper
Frank Johannessen
ChevyVanDude
Al33327
old dog
enric vives
Kevin6
toratora
duck16
JorgeFC
K_Dean
Temha
Only Title

Sam Tyson 92's Q&A profile

  • .NET Development Decrypting with RSACryptoServiceProvider

    I have a problem: I have to decrypt a message encrypted with RSA. I read the private(d and modulus) key from a file, but when I try to import RSAParameteres, I get a BadKey exception. I read somewhere that RSACryptoServiceProvider needs all fields(not only the private key - d and modulus) in RSAParameter to be filled to dectypt. Is that true ...Show All

  • .NET Development Security

    I'm trying to run an application throw the net and trying to create a file in local disk (C:\), but it's showind a message like this: "System.Security.SecurityException: Request failed." I've discovered that the problem is the permission of the framework. So, i'd like to know how can i solve this problem implementing this security by code in the application, not manually by "Control Panel". Thank you! There are ways of controlling this through scripts and executables, but the application you are calling cannot change these settings programmatically - else what security benefit would you have if the untrusted application could change your trust settings Look into caspol.exe for a command line tool for ad ...Show All

  • Software Development for Windows Vista Automate testing Website using C#

    I would like to automate testing of a Website writing code in C#, The idea is to open the browser,navigate to the site,once the page is loaded search for a text box write some stuff in it click a button wait for the page refresh and search a string or an element on the page if so Succeeded else report failure, Guide me with some method or article describing the procedure how to do it, Thanks in advance Habeeb Another option is WebAii here: http://www.artoftest.com . Supports both IE/FF and soon Safari on Windows. You can't go wrong with Watin either... ...Show All

  • Software Development for Windows Vista Send SCSI Command Fail in Vista

    I have the following code sending SCSI rite command(0x2A) to USB Pen Drive in thw Vista. It can work well in the windows XP, but do not work in thw Vista. But DeviceIOControl return the fail and getlasterror is 5(Access is denied). Any one knows what , I am doing wrong void SendWriteCmd(void){ //// 1. Get Disk Drive Handle HANDLE hDevice = ::CreateFileA( AnsiString(" \\\\.\\F:").c_str () , GENERIC_READ | GENERIC_WRITE , FILE_SHARE_READ | FILE_SHARE_WRITE , NULL , OPEN_EXISTING , FILE_ATTRIBUTE_NORMAL , NULL ); if(hDevice == INVALID_HANDLE_VALUE){ ShowMessage("CreateFile() Fail."); return; } //// 2. Initialize Data Structu ...Show All

  • .NET Development Dataset Requirement

    if there any possible way using datasets to see how I can validate my dataset schema with the existing schema when I change the database any feature like this in ado.net datasets 3.0 ...Show All

  • Visual Basic Help

    hi people i hope you guys can help with this problem. first, i have two variables(line,star) and i have create a loop that prints out asterisks. my mission is to get these programs to work, and so far i have the richtextbox and 2 buttons that say clear and other that say loop 1. now the problem is that i have trouble writing the code to make this works. so far i got this Dim Line, Star As Integer For Line = 10 To 1 Step -1 For Star = 10 To Line Step -1 RichTextBox1.AppendText(Str(Line) + " * " ) Next Star RichTextBox1.AppendText(vbCrLf) Next Line but i supposed to get this answer *** ** * but what i got is different from that. so i was wondering if can help me out. i made ...Show All

  • Visual Studio Team System Can not execute SQL statement

    Hello all IN CTP4 of the VSTS - Database Professionals - after export from the DB of the all database objects - Build, rebuild and deploy functions are working properly, but when I want to execute a single stored procedure or table DDL - all menu items (execute SQL, Validate Syntax, SQL CMD mode) are disabled Any ideas and suggestions are more than welcome Thanks in advance Leonid Niraev Leonid - That has been a bit tricky for new users to discover (we're making some changes in CTP5 that we hope will help with the issue). If you right-click the database project in Solution Explorer and click Properties, it will display the Project Properties. Within the project properties, you can specify the target connection ...Show All

  • Visual Studio Express Editions Tools one upon the other?

    Using Visual C++ 2005 EE, in a small C++ program using Media Player (as a tool) I play short movies from AVI files. Since Media Player does not take input from a camera I would like to show the input of a PC camera in a PictureBox positioned over the area of the Media Player in order to show either an AVI file or the camera input depending on a button-press. What would be the correct way to do the above Are there any examples that positions two tools one upon the other Thanks for any guidance or design idea. In your form designer, create one control of type, make them the same size, and put them in the same location on the form. When your form starts, it should pick one to be the default and hide the othe ...Show All

  • Internet Explorer Development Problem with IE7 (empty page)

    We have an website www.partsbase.nl , where users connect to this site and they can look for parts for cars. Click on the car left/up. In explorer 6 and firefox no problems, with internet explorer 7 they get white screens. When i change something on the format off the screen (when it is white, minimizing etc.) then i see the actual content. Those anyone knows how i can repair or correct this problem Hi Ozolayer, I'm wondering you can access it fine. Also when you click on a line in that screen It is not only a problem with my computer but also for a lot of customers in the Netherlands. Can it by a problem of the dutch-version of IE7 The problem with the tabs you mentioned is new for my. Is this no ...Show All

  • SQL Server Create database within SSIS package

    I want to create a package that imports data from a Visual Foxpro database to SQL Server 2005 Express database. I used the wizard in BI Development Studio (similar to the DTS in SQL Server 2000) to create a package and noticed that the SQL statements created in the Preparation SQL Task only has code for creating tables. I want to make the package such that it first creates the destination database before creating all the related tables in it! When I tried to edit the SQL code to include DROP DATABASE and/or CREATE DATABASE statements, these were rejected. Is it possible to do this or do I have to first create the database outside the package and then call the package I want to make this a seamless process for clients who do not have th ...Show All

  • Visual Studio 2008 (Pre-release) ListView - dragging a selection box around items

    Just getting started with WPF and I am pretty impressed. One thing that I can't replicate from WinForms yet is a particular behaviour from WinForms:ListView in WPF:ListView. In a WinForms:ListView, when MultiSelect is true, then one can click the mouse button and draw a box around items to select them (just like in explorer where you can click and drag a box around some files to select them - I don't know what the correct term is - so I am going to call it a drag box). In WPF:ListView, if I set SelectionMode to Multiple or Extended, then I can select multiple items by clicking on each one individually, but I can't drag a box around them to select them. Anyone know if it is possible to replicate the drag box behaviour (Google results for th ...Show All

  • SQL Server trim trailing white spaces

    Hi All, I have a column which has some white spaces that I suspect is tab delimeted one. So when I use a rtrim(col1) it would not trim those. So i used a scrip component and wrote this line, Row.trimDetail = RTrim(Row.detail) here trimdetail is an o/p column and detail is the input col with the trailing spaces. but still I don know why the column has that spaces. Can someone help me to figure out what is the problem Thanks in advance, A regular expressions will do nicely, since this is essentially a pattern matching question. The following script transform will trim trailing whitespace where trailing is defined as "at the end of the string". That might seem obvious but the other d ...Show All

  • Visual Basic Checking if drive exist

    I got a few questions, maybe you might be able to help. I am needing to design a program that will check for a problem with another pc in my local network. We are not running a server type enviroment, but just a simple peer to peer platform. Any how on to the problem, We use one pc to act as a server, and the hard drives use a raid controller using 1(mirror). We ran into a snaffou yesterday, because no one in that building monitors thier pc's, they just use them, anyhow the raid broke and created 2 independent drives with the same shared folders, and the drive windows decided was bad wasnt the right drive, it renamed the volume and took everyone back to fridays data that resided on the drive that windows thought was bad. Anyhow ...Show All

  • SQL Server Dattime format problems when retrieved on FreeBSD server

    I'm using MSSQL with PHP and this works fine on a Windows server. When i move to a FreeBSD server, the date formatting is not working. FreeBSD retrieves the date as: mon dd yyyy hh:mi:ss:mmmAM - and php's functions for formatting date fails. I've tried using: Convert(varchar(10), Date, 103) AS Date, and the date is formatted fine - BUT sorting on date does NOT work. Are there any way i can do changes to datetime behaviour on server side I NEVER wants the date in mon dd yyyy hh:mi:ss:mmmAM. I don't need milliseconds, and i want 24h format - not AM/PM. Are there any settings on the SQL server for this I'm not sure what you mean. I SELECT Convert(varchar(10), Date, 103) AS Date, and last sentence ...Show All

  • .NET Development System.Web.Mail - How to fetch rejected recipient addresses from InnerException?

    Hi All, I am getting the following error while sending email by using System.Web.Mail.SmtpMail.Send(). "The server rejected one or more recipient addresses. The server response was: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)" I want to display the rejected recipient addresses on the web page as error. Please help me out to fetch rejected recipient addresses from the InnerException. More Details: .Net Framework: v1.1.4322 IIS: 5.0 OS: Windows XP Professional Version 2002 with Service pack 2 Thanks in advance. Regards Anees ...Show All

©2008 Software Development Network