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

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

SGriffiths

Member List

Euclidez
Katherine
Marshes
TroubledPerson
vbnetdiscuss
2lazydba
Raulsassaa
NewToReportingServices-MJ
AFM
S Nesbitt
progames25
SQLScott
matthew lyden
DevDiver
DarrellMerryweather
Kamii47
Leonard Lee
Cindy Zhong
Jassim Rahma
ble0t
Only Title

SGriffiths's Q&A profile

  • Visual Studio 2008 (Pre-release) Reading and Writing image "Rating" metadata

    I'm looking for a way to read and modify "Rating" metadata that Vista uses to rate image files. I'm able to read the rating although I noticed that the rating is written in several places in metadata... and I'm not sure which Vista is using... it looks like all of them are changed at the same time and are kept in sync... so do I have to modify all of them to keep them in sync /xmp/Rating / xmp/xap:Rating /app1/{uint=0}/{uint=18246} When I'm trying to modify the rating... nothing happens... I'm using this code Stream fileStream = new System.IO. FileStream (path.LocalPath, FileMode .Open, FileAccess .ReadWrite, FileShare .ReadWrite); BitmapDecoder decoder = BitmapDecoder .Create( this .fi ...Show All

  • SQL Server Loading images into SQL

    I have created and inserted successfully images into table but when I use Gird View, or other Control can’t see the photo. Any help. please Juvan Here is the query Create Table EmployeeProfile ( EmpId int, EmpName varchar(50) not null, EmpPhoto varbinary(max) not null ) Go User following to to insert image: Insert EmployeeProfile (EmpId, EmpName, EmpPhoto) Select 1001, 'Vadivel', BulkColumn from Openrowset( Bulk 'C:\Blue Lace 16.bmp', Single_Blob) as EmployeePicture Hi Andrea, Yes I am sure. I can see all the field in Preview Data window but can't see image field in Gird view. Thanks. Juvan ...Show All

  • SQL Server about sql management studio?

    i have a problem regarding sql management studio.... 1. I can't create new server, i'd follow the tutorial in video. but it doesnt work. or may be i must install the IIS 2. i create a new database named sample (sql management studio) and add some tables and sort of data. how can i deploy this database so that i can bind/connect to my program. 2 question for now. thx in advance Hi, from question 2 I assume that you already installed SQL Server, or do you want to install it on another box If yes, which error do you get 2. Where do you want to deploy the database to Another system Is there SQL Server already installed Do you want to run a script to built up your database, or do you want to ship copy of the database files w ...Show All

  • SQL Server Need Setup Help: "The ReportServerVirtualDirectory element is missing"

    I am getting setup problems with Reporting Services 2005. When I try to connect through SQL Server Management Studio, the browser in the connect dialog can see the Reporting Services 2005 instance, but when I try to connect, I get an error dialog with the message, "The Report Services instance could not be found (Microsoft.SqlServer.Management.UI.RSClient)" I manually setup ReportServer and ReportManageer virtual directories in IIS to point to the corresponding directories within the Reporting Services installation. Was I supposed to do this manually Was the installer supposed to set this up Anyway, when I browse to http://localhost/ReportServer/ I get: * The report server has encountered a configuration error. See the report ...Show All

  • Visual Studio Team System Anyone using TestToolsTask-1.1 ?

    TestToolsTask-1.1 is the new task that Buck Hodges posted to allow test running without owning the VS test version. I am having some problems with it. I have replaced the Original TeamFoundation targets and also added the PowerToys assembly to the PrivateAssemblies folder. I have the following set with the .proj file: < RunTest > true </ RunTest > And then I have the following: <MetaDataFile Include=" "> <TestList> </TestList> </MetaDataFile> --> < TestContainerInOutput Include = " %2a%2a\%2aTest.dll " /> Since I have everything configured correctly I am not sure why my tests aren't being run. I assume TestContainerInOutput is suppose to fin ...Show All

  • Visual Studio Express Editions Start program with click

    Hello! I was wondering if this is possible Lets say I have a program with a TextBox and a Button. When I press the button it will load a program (cmd.exe) and type in the text from my TextBox and automaticaly bress enter so I could give a nother command for the cmd.exe. Hope you understand what I mean and help me! Okay.. It seems that you are making a program which opens cmd.exe and sends some parameters into it. :) Try this code: using System.Diagnostics; ... public void sendCommand(string command) { Process.Start("cmd.exe", command); } or.. public void sendCommand(string command) { ProcessStartInfo startInfo = new ProcessStartInfo("cmd.exe"); startInfo.Arguments = textBoxco ...Show All

  • Windows Forms Mimic Windows Screen Identify

    Hi, How can I mimic Windows screen identify function in C# In a multiple monitor setup there is an Identify option which throws up big numbers 1, 2, 3 etc for every screen. How can I achieve that in C# Thanks in advance. in .NET there is a Screen class where you can get the number of screens on the system. Screen.AllScreens.Length; //perhaps -1. then you can go through each screen and show whatever you want... foreach(Screen curScreen in Screen.AllScreens) { //whatever } Trying to find a way now by showing something on each screen.....but hope this gets you started for now and will post anything I found to show those numbers on each screen ...Show All

  • Visual C# How do you modify windows form control's properties from other classes?

    I am trying to make it so when a button is clicked the text on that button will change to something else using a method from a different class. I can't quite get it. This is what I have so far: using System; using System.Windows.Forms; public class Form1 : Form { public Button button1; // Windows Form Designer generated code here... } private void button1_Click(object sender, EventArgs e) { // I want the method to be called here } And here is the class that I want the method in: using System; using System.Windows.Forms; public class Change { public void ChangeText() { // How would I be able to modify the button and its properties } } Can someone please help me with this Thanks. yo ...Show All

  • .NET Development An error has occurred while establishing a connection to the server

    We tried upgrading a .net app from FW 1.1 to FW 2.0. When trying to connect to the SQL Server 2000 I get this error: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" The "old" FW 1.1 app still works, on the same workstation, with the same connectionstring... What should we look for Hi, Are you sure the application is not connecting to the server via the ASPNET account By default, when adding a new webapplication, the application uses the A ...Show All

  • Windows Search Technologies WDS 30 Installation with wizard to select sources to index

    Hi, I'm using WDS 3.0 and I am wondering where to start a wizard (during installation of WDS 3.0or later) like it was in WDS 2.6.6 to select folders in outlook (inbox, calender,...) or network drives. Is there a parameter to start the installation exe with to get this behavior Thankx jodv There is no wizard like that in 3.x. You can however, access those settings by right-clickingt he spy glass on the system tray and go to the options. ...Show All

  • SQL Server How to make a DB to update its own Table colums

    Is there any way to update a table columns automatically. For example: We have a table( tblFirm ) which columns are: FirmName,IsOpen And another table( tblTime) which stores time information: OpenTime,CloseTime What i want to do ; between the time intervals of  OpenTime&CloseTime , DB will automatically set IsOpen 's value to true , otherwise false . Is there anyway to do this Happy Coding... I agree partially with  Gurpreet Singh Gill. But it wont automatically set false when the current time elapsed with CloseTime. The best solution is, 1. Create a function which will find the Firm is Open or Close from the TBLTIME table. Create Function dbo.IsOpen(@CurrentDate datet ...Show All

  • Visual Studio Tools for Office Using Excel as a front end for data entry

    I am interested in using Excel 2003 as a front end to enter data into an Access database using VSTO 2005. Can anyone be so kind to point me to some sample code or URL where I can get somemore information. I went through quite a number of examples on the web, but they all show data binding to display data. I need some help in writing code to enter data into a relational database. Thanks in advance. Thanks for helping. I did it in VB. When I press the button, nothing happens. It didn't save the changes either. Public Class Sheet1 Private Sub Sheet1_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup 'TODO: Delete this line of code to remove the d ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XBOX360 DirectX Graphics Caps?

    Can someone post, or let me know where I can find a listing of the XBOX360's Graphics Capabilities: like those displayed under "Graphics Adapters" in the DirectX Caps Viewer on Windows Robert Lettan wrote: Unless your graphics performance drops too sharply, remember you're trying to make sure never to go under 60fps otherwise it can seriously affect each aspect of the game as the xbox 360 will attempt to run faster in order to compensate so the output doesn't drop. That's not really accurate: the Xbox clock speed (both CPU and GPU) is fixed and not affected by framerate. ...Show All

  • SQL Server Inserting millions of rows into a table

    Hi, I have a DataTable in memory and I want to write a C# code to dump the data into a SQL database. Is there a faster way of dumping millions of rows into a SQL table besides running INSERT INTO row by row Thank you, Jina If you are using .NET 2.0 then you can use the new SqlBulkCopy Class. I am not sure though if it supports inserting into older versions of SQL Server but it will work against SQL Server 2005. Else it is best to dump the rows to a file and then use BCP/BULK INSERT/OPENROWSET(BULK)/DTS/SSIS. ...Show All

  • Windows Forms auto repair problem

    I created a project which include many files (about 3500). It seems works fine for a while after being installed. However, now there is a client report every time he tried to run the program from the desktop icon (or icon in program folder). The program tried to start the auto recover processes. I checked his installation folder, the executable files are same as before For further check, the desktop icon has a newer date Could that be the reason However, my local testing machine doesn't have the auto repaire problem even the icon has a newer date too So my question is: 1. What's possible reason for this 2. Does the icon get a newer date everytime it was run 3. In what cases other than file missing, the recover process ...Show All

©2008 Software Development Network