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

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

orent

Member List

Emy_P
amb_lew
swatts777
MMS2006
alpefusk
TboneToo
Keith Seifert
Milzit
micah1990
Davids Learning
xion.truth
briggins5
BlackManWah
PSDCHD
WXS123
JSantos196912
Jim Perry
Davids Learning
facemate
billy_bhuj
Only Title

orent's Q&A profile

  • Visual Studio Express Editions Mouse and Keyboad events question

    I am trying to process some data using an external application. This external application processes data from a binary file and performs some algorithm on it. I would like to automate processing these files and send the processed data to the database. To do this I have tried to use the user32.dll library and the FindWindowA, mouse_event and setCursorPos functions. I am also using the SendKeys function as well. Everything seems to work fine until I use the mouse_event function is called. After I use the mouse_event function then the SendKeys function no longer responds. All these pieces of code work fine seperately but when I put them together they do not work. Any help is appreciated, Thanks, price private void button1_Click ...Show All

  • Windows Forms How to add User & Pass to ConnectionString in app.config?

    Hi, I excluded the sensitive data (username-password) from my ConnectionString , how can I add it from any C# class when needed i.ex: string username = textbox1.Text; string password = textbox2.Text;   Ashish Basran wrote:   Hello, As you are allowing user to enter the userid and password and not going to store in configuration, what you might do is: Create the connection string in application configuration(appSettings) and while using the connection string, replace the userID and password of the user before assigning the connection string to connection object. Hope this helps you.   And how to do that or how to amend the c ...Show All

  • Visual Studio Express Editions Move It

    How do I make a button on my form to be always 10 pixels from the left side of the form and 10 up from the bottom, when each time the form loads it resizes to match a picture in a picture box Keep that copy of the MSDN library handy when you program. Me.ClientSize = new Size(pbCrop.Width, pbCrop.Height + 100) ...Show All

  • Visual C++ Arrays of strings

    Hi, need to write a simple C program (using Visual Studio 6)that will store multiple strings in an array. And also print them out using the scanf() and printf() functions Here is what i would roughly like it to look like: void main(void) { char array[1] [20]; scanf("%c", &array[0]); //I have a feeling that this line is wrong printf("\n%c", array[0]); //And this line } Thanks daniboy120 wrote: scanf("%c", &array[0]); //I have a feeling that this line is wrong Yes that is wrong int main(){ char arry[2][7] = { "hello" , " world" }; printf(arry[0]); printf(arry[1]); return 0; } Regards Sahir ...Show All

  • Internet Explorer Development COM and Security System

    Hi, i wrote a COM component in .NET for my webpages. I create my own certificate and isigned dll, setup.msi and the cab. Now from my webpages i can install my cab, iexplorer initialize it but when i try to access to its methods iexplorer blocks it. Any clue TIA ...Show All

  • SQL Server How to create database having userid and password

    Hi, I am using the sql server for creating the database. I want to create the database which is having userid and password. This I require since I wanted to restrict acces to database and also only authorise user to database can use the userid and password created at time of creation of database. So how can I create the database which is having userid and password See... that is how SQL Server Security Model works... SQL Server has two level security ... One at the serverl level (LOGIN) and one at the database Level (USER)... If u have access to server(LOGIN)   it does not mean that u have access to all the databases... No... u just cant do anything if u have only login... these login has to have permission(added) to a dat ...Show All

  • SQL Server Replication via Web, new subscriptions and snapshots

    Hi everybody, I'm quite new to SQL 2005 and I’m trying to understand some key concepts regarding replicas. I need to develop an application with characteristics similar to the Sales Order Sample for Merge Replication, on the client side it should run with the express version of sql server and also the synchronization should only work via web. I try to run the sample but I got an exception in the CreateSubscription method on invoking publisherConn.Connect(); TITLE: Microsoft.SqlServer.ConnectionInfo ------------------------------ Failed to connect to server XXX. ------------------------------ ADDITIONAL INFORMATION: Login failed for user ''. The user is not associated with a trusted SQL ...Show All

  • .NET Development Rollback Transaction in VB 2005

    I want to do Begin Tran and Commit Tran in VB 2005 instead of Stored Procedure, I see in book say dim myTrans as sqltransaction myTrans = me.MySqlConnection.BeginTransaction(IsolationLevel.............. But when I use the VB2005, I just need to Drag the database from datasource to the Form , so where should I place the Transaction Syntax Thanks ~~~ use the system.transaction namespace here's some more link's http://www.devx.com/codemag/Article/31666 ...Show All

  • SQL Server Linked Server

    Hi I would like to now how to create a linked server on SQL 2005, not using a provider SQLNCLI but using a provider SQLOLEDB by T-SQL Commands. Thanks This might work for you sp_addlinkedserver [ @server = ] ' server ' [ , [ @srvproduct = ] ' product_name ' ] [ , [ @provider = ] ' provider_name ' ] [ , [ @datasrc = ] ' data_source ' ] [ , [ @location = ] ' location ' ] [ , [ @provstr = ] ' provider_string ' ] [ , [ @catalog = ] ' catalog ' ] ...Show All

  • SQL Server backup of all the database in server eg:node 1 in sql server 2000

    hi can any one let me know how to take backup of all the database in server once . thanxs prabhu-bangalore Create a maintenance plan, and then execute the SQL Agent job it creates. You can remove the plan afterwards if this is a once off operation. In SQL enterprise manager, go to Management, Database Maintenance Plans. Choose the All Databases option, and then click through to the Specify the Database Backup Plan option. After this go to SQL Server Agent, Jobs and find the newly created job for the maintenance plan. Right click it and start job. Hope this helps. ...Show All

  • Windows Forms Custom Cursor, showing up only in...black

    I tried: this .Cursor = new Cursor ( Application .StartupPath + \\Images\\UI\\Cursor.cur ); to get a cursor, this is one from windows by the way, I used one that I wasn't using, so that I could tell the difference, but apparently... on form load, the cursor is black, not the blueish color it should be, it does this with every cursor I try too! Is there a form property interfering.. Languages: C# & VB .NET 2005 I know it only supports the .cur , the windows type is of the .cur format. Well, gathered that it only supports black...which I don't understand that useless feature, whats the point of having it there if you can only have a black cursor What can I use to change the cursor to a n ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is this Graphics card good enough?

    I recently downloaded the XNA framework and XNA Studio Express only to learn that my exsisting card won't work. Been doing some research but I'm on a tight budget. Would this card work http://electronicsshowplace.com/product_info.php products_id=32939 If not, can someone please suggest a cheap card that would work Thanks! It'll work fine but at that price level you're better off getting a 6200. Speedwise there probably isn't much difference but the 6x series supports shader model 3.0 (the 5x series is 2.0). This particular 6200 is $38: http://www.newegg.com/Product/Product.asp Item=N82E16814145134 Avoid 6200's that use "turbocache" memory since that really means it uses system memory, which make ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Recommended Graphics Format?

    These are primarily questions for the XNA developers... 1) What is the recommended graphics format for textures, bitmapped fonts, etc. I'm currently using BMP files but most of the examples appear to use TGA . 2) Also, should I restrict my graphics files to widths and heights of powers of 2 (eg, 128x32, 64x64, etc.) Please be verbose. I would like to know *WHY* I should use one format over another, so please don't just respond with "bitmap" or "targa". Thanks! :) 1) I would recommend using anything other than BMP. Bitmaps are an uncompressed file type and that will bloat the size of your game project quickly. My personal choice is to use PNG files. They support transparency ...Show All

  • Smart Device Development Enabling num Lock programatically

    I am writing a program for a PocketPC that has a built-in keyboard using eVC, and I was wondering if there was a way to activate the number/symbol lock key programatically As it is, the user has to push the orange key on the keyboard twice to enable the locking feature, I would prefer to be able to enable it in my program so all the user has to do is type the numbers. Thanks. Israel Brewster Computer Suport Tech Frontier Flying Service, Inc. 5245 Airport Industrial Wy Fairbanks, AK 99709 (907)450-7250x293 Israel Brewster wrote: Well, I think that has pretty much confirmed that whatever key the device is considering it to be, it's not the num lock key. ... Is there a command that will wait for ...Show All

  • .NET Development Setup failing?

    If your .NET Framework 3.0 install fails on Windows XP or Windows Server 2003 (it's preinstalled on Windows Vista), the #1 reason for such failures are incomplete uninstalls of previous pre-release versions. Therefore, please use the uninstall utility provided on the Microsoft download center to clean up a previous .NET Framework 3.0 or WinFX install before installing a new version. When the setup was failing for me, I looked at the contents of the error log and it appeared to be a certification error for the download manager. I got that error several times. Interestingly, though most likely coincidentally, it only occurred when I had the setup program maximized. If I left it minimized, the error didn't show up. Every time the ...Show All

©2008 Software Development Network