roy-roy's Q&A profile
Visual Studio Express Editions Alternate text for picturebox
Hi, I am inserting a picture of a person when FirstName and LastNames are typed into two text boxes, a button is clicked and this is searched for in an associated database. I want a picture box to display a picture of the person found for verification. I looked up the Books online. Is this what I put in the VB file Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Browsers that do not support an image format ' will show alternate text. PictureBox1.AlternateText = "This is the image of the person searched for." End Sub VB tells me that "PictureBox1 is not a member of Systems.Windows.Forms.PictureBox. How do I set alternative text on mouseover I know how to do ...Show All
.NET Development webservices work for Production, but not Test - Same code.
Hello all, I have an asp.net application that processes credit card using web services. This application has been working fine for almost a year now. All a sudden, it stopped working when running on my local machine (Window XP Pro, VS 2003, .NET Framework 1.1) and referencing the test environment of the webservice providers. However, the same application without changing any code still works when referencing the production environment of the webservice provider. The same application also works correctly when running on other machines and referencing the test environment. I 've tried to delete all temporary internet files of the browsers, all project folders in the asp.net temporary folders as well as all web caching folders. I've ...Show All
Software Development for Windows Vista Accessing/Enumerating Audio sessions
I am writing an application that will control the audio session volume for ANOTHER process. I know I can get the access to the AudioSessionControl by providing an AudioSessionGuid but is there any way to enumerate the AudioSessionGuid I have looked in AudioPolicy.h adn AudioClient.h and did not see any way to do that. The mixer obviously can and I would like to be able to do something similar. Thanks! Marc Can I ask how Sndvol.exe works to control per-app volume, I am very curious about this. It seems that there is an interface between Sndvol.exe and Windows Audio Service, therefore Sndvol.exe can access all audio sessions, could you explain it in more detailed! Thanks a lot. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. what is best way to render scene with great number of textures?
quiestion sounds excactly like topic :) i have many generated textures (maybe ~100). what is the most efficient way to render all the stuff not much found on google, but understud that atlas is somewhat a big map containing all textures in one. the problem is in my case i have many textures of a big size but maximum size of 2d texture itself is not large (so i will be not able to pack all of them into one). anway thx for an advice ;) ...Show All
Visual C# how to use "foreach" to get values from checkboxlist?
here is my code↓↓↓ CheckBoxList chklist = (CheckBoxList)FormView1.FindControl("chkList"); CheckBox chkadd = (CheckBox)FormView1.FindControl("chkAdd"); CheckBox chkedit = (CheckBox)FormView1.FindControl("chkEdit"); CheckBox chkdel = (CheckBox)FormView1.FindControl("chkDel"); CheckBox chkquery = (CheckBox)FormView1.FindControl("chkQuery"); string permission; foreach ( CheckBoxList item in chklist) { if (item.SelectedValue.ToString()) { permission += item.SelectedValue +","; } } I would like to use these code to get values from a checkbox list which user select ... but is doesn't work can you let me know ...Show All
Visual C# relative path for webBrowser question ...
How do I specify a relative path instead of an absolute path for the webBrowser control I want to load a local image for the default display, and not have to chase it down to a specific folder... this is what i have.. and it works just fine.... { webBrowser1.Navigate( new System. Uri ( @"C:\Documents and Settings\paul\My Documents\Visual Studio 2005\Projects\MyProjectName\ProjectName\Image.gif" )); } but I would rather have ... (this does not work) { webBrowser1.Navigate( new System. Uri ( "Image.gif" )); } well given that if the file is stored in the same directory as the application running directory, then use: Application.StartupPath + " \\I ...Show All
SQL Server Need help in starting out
Hi Everyone: I am just starting out on SSIS, and have the following business challenge that I would like to solve utilizing SSIS. There are two SQL Server data stores, one would be the source, and other would be the destination. I need to grab some data from store 1, and insert that data into store 2. Here are my questions: 1) Before i move the data to store 2, i have to check some criterias by callin some sps, and then the end result would need to be inserted into the destination database. Can anyone tell me how would i setup the control flow, to accomodate that in SSIS 2) Can someone email me a sample package that does something similar I just need a starting point so i can build the design of my package. Basically i need to ...Show All
SQL Server Concatenate Input Columns
Hi, In my data flow taks, The Source data is coming from AS400 has 4 columns, I need to achieve the followings and require your help. 1. Generate a new column which will be combination of concating these 4 columns. 2. Need to add an extra row for Header & Footer. Please Help. Ahhh..I didn't think about that. Sorry. There is no way to guarantee the order. I've thought of another way actually. Use a single script component transform to add the header and footer. It will have to be an asynchronous component. Sorry for putting you on the wrong path. -Jamie ...Show All
Software Development for Windows Vista Certified for Windows Vista - Test Cases (test 31)
Performing the test case 31 and running the application under the "Application Verifier 3.3" with the check necessary for the test, I receive from "Application Verifier" the error reported in the log: < xml version="1.0" encoding="UTF-8" standalone="no" > <avrf:logfile xmlns:avrf="Application Verifier"> <avrf:logSession TimeStarted="2007-01-17 : 16:53:32" PID="1724" Version="2"> <avrf:logEntry Time="2007-01-17 : 16:53:32" LayerName="Handles" StopCode="0x301" Severity="Error"> <avrf:message>Invalid TLS index used for current stack trace.</avrf:message> <avrf:paramete ...Show All
SQL Server Change Filename creating database
I wish to change filename parameter depending on the root path of SQL Server : C:\Program Files\Microsoft SQL Server\MSSQL.X\MSSQL where X>=1 I can find this root path by the following querie : select SUBSTRING (physical_name,1,len(physical_name)-11) from sys.database_files where type_desc like 'LOG') But i can't include the result in the create database command to be independant of the new root path in a the case of a deployment : CREATE DATABASE [ACS] ON PRIMARY ( NAME = N'ACS', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\ACS.mdf', SIZE = 5120KB, MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) LOG ON ( NAME = N'ACS_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\ACS_log.l ...Show All
Visual Studio Express Editions MsgBox Size and Position
Hi, How can I set the size and position of the standard message box control. You need to have a Form2 added to your project which has a label on it called MessageLable. Hans (NoBugz) I rest my case. ...Show All
Visual Studio 2008 (Pre-release) XAML perform transform THEN set a property...?
I want a control of mine to shrink (i.e. ScaleTransform), and THEN I want to set the Visibility to Hidden after the transform is over. Can this be done in XAML How do I set other normal control properties at a specific point in time like ClipToBounds, Dock location, etc. Thanks! But what if I want this to happen when I click a button (which is part of a usercontrol) and when I click it the user control transforms to a smaller scale then its visibility is set to hidden... is this possible Somehow specify the target control that I want the effects to happen to ...Show All
.NET Development OleDb adapter.Update doesn't work for me
Hi, I have some very simple code to insert rows into an Access DB, using a typed DataSet created by the Visual Studio designer. For some reason it just doesn't work. No exception. But the rows are not added. Any ideas var ds = new SampleAccessDBDataSet(); var adapter = new SampleAccessDBDataSetTableAdapters.CareersTableAdapter(); adapter.Fill(ds.Careers); // writing out existing rows at this point works var career = ds.Careers.NewCareersRow(); career.ID = 10000; career.Name = "test"; ds.Careers.AddCareersRow(career); adapter.Update(ds); thanks, Rob assign the dataset source . you can use::::: SqlConnection con = new SqlConnection(strcon); ...Show All
SQL Server Mobile merge simple question
So when a mobile device pulls down information, say a typical order entry scenario, then continues to edit/add orders and merges those changes back to the server, when/how are those records ever purged from the device once they are no longer needed They aren't. The meta data which tracks the changes is, but the actual data rows aren't. -- Hilary Cotter Director of Text Mining and Database Strategy RelevantNOISE.Com - Dedicated to mining blogs for business intelligence. This posting is my own and doesn't necessarily represent RelevantNoise's positions, strategies or opinions. Looking for a SQL Server replication book http://www.nwsu.com/0974973602. ...Show All
SQL Server Test Toggle state
Is it possible to test the state of a ToggleItem Conditional formatting depending on an Group Item being expanded/collapsed. ...Show All
