Jurciks's Q&A profile
SQL Server RS utility parameters
I'm trying to use the rs utility on the command line, but all the examples I've found use only 1 parameter. I want to use multiple parameters and have not been able to get it working. Can anyone advise if this is possible, and if so, how to do it. Thanks in advance Jez Hi, following the script (rss) file definition that accepts the datasource from the rs command line stmt. myfile.rss Dim definition As [Byte]() = Nothing Dim warnings As Warning() = Nothing Dim parentFolder As String = "MyReports" Dim parentPath As String = "/" + parentFolder Dim filePath As String = "C:\Reports\" Public Sub Main() rs.Credentials = System.Net.CredentialCache.Defaul ...Show All
Windows Forms Hide Cell
Hi, I'm using DataGridView to create calendar user control, what i want is after i selecting month from combobox i want to hide some cels base on selected month. i found some answer showing us how can hide cell using CellPainting Event private void dgCalendar_CellPainting( object sender, DataGridViewCellPaintingEventArgs e) { if ((e.RowIndex == 4) && (e.ColumnIndex == 4)) { e.PaintBackground(e.ClipBounds, true ); e.Handled = true ; &n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using xna with windows forms???
Is it possible to draw with Xna, on my windows form, if so, how because when you have it draw, the normal way, it automatically pops up its' window, also, even if the 1st one is possible, game components are like controls correct Could somebody also point me in the direction of\ tell me how to use them, the basics, otherwise I wouldn't be asking this question, I just started working with Xna. This didn't help me out alot, that Toni Greco's space thing, is just what I need, drawing to a picturebox, but it must be for beta 1, because it has a bunch of compile errors, and I'm not going to use some 3rd part item to get what I need. ...Show All
Visual Studio Express Editions Automatic Build Number updating
I know that when you use the ClickOnce Deployment option it will automatically update the version or build number (I think it is just the build number). However, is there anyway within the Visual Basic 2005 Express Edition IDE to have it automatically update the build number anytime you simply execute or run the program in debug mode before you use the deploy option I just don't like having to go into the Application settings and change the assembly information by hand all the time. It would help me better track my progress developing apps. Thanks in advance. Maybe I'm misunderstanding...but this should work....even in the Express version: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/tdlg_ch ...Show All
Community Chat Zune Subscription
I've been scrounging around online and thought I might be able to get a definitive answer here. Currently, I have Napster-to-go with my Dell DJ. The DJ is on it's way out the door, and I'm looking at getting a Zune. Will this Zune subscription thing for 15 bucks a month allow me to transfer music to the player itself, or is it simply to let you listen to music on your computer In other words, will there be something like napster-to-go that works with the Zune TIA! Hi - somewhat related question about previously purchased (prior to my Zune) wma files form MSN Music store: I expected Zune to automatically add my purchased .wma format songs (about 70 of them) to the Zune library. It did not happen. The ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Combining Skeletal and Vertex Animation
How to blending Skeletal and Vertex Animation One character has facial animation & skeleton animation ,how to blend them using c# ...Show All
.NET Development How to convert XML Schema DateTime type to .Net long type format
Hi I want to convert XML Schema DateTime type to .net long type like as follows from dateTime: “2006-01-27T13:47:31.321-05:00” to .Net long datatye: “20060127134731321” I tried with convert members... but Iam not able to find that. Thanks Use: str.Substring(0, str.LastIndexOf( '-' ) + 1).Replace( "-" , "" ).Replace( "T" , "" ).Replace( ":" , "" ).Replace( "." , "" ); Cheers, Dimitre Novatchev ...Show All
Community Chat Add dictionary function to Windows Desktop search
I am into design of interface to improve "users' experience" in using a software. I was studying the 2 Desktop search from both side, Microsoft & Google. While the great engineers of both company create a great product, I see that both are now offering a common function. As we know, Desktop search primary objective is to capture users for the search engine and the functionality of easy-search in our desktop is just additional functionality to ensure web search is readily available. What else the great engineers from Microsoft can add to Windows desktop search to ensure it is selected over the other competing desktop search My suggestion is to add dictionary that will be available even the users are offline. As we know, millio ...Show All
Windows Forms Status message won't update in real time correctly to screen
Hello, I am trying to retrieve and display the status of a SQL 2005 merge replication process. I have a class that keeps the Syncronization code. The syncronization agent has an event handler that in turn calls a method to grab the status and percent completed of the current merge process: subscription.SynchronizationAgent.Status += new AgentCore.StatusEventHandler(SynchronizationAgent_Status); subscription.SynchronizationAgent.Synchronize(); Here is the method it calls: static void SynchronizationAgent_Status(object sender, StatusEventArgs e) { m_percentComplete = e.PercentCompleted; m_statusMessage = e.Message; } I am saving the status message in a member variable named m_statusMes ...Show All
Software Development for Windows Vista How do i pass handle between proccesses?
Hi, I could use CreateProcess and STARTUPINFO to pass a pipe handle in xp. How can I use pipes with Shellexecute under vista Specifically, I tried "CreateProcess" from low privileged process(an activex) and it fails. Thanks in advance. In my testing I believe I have determined that an activeX control running under IE in Protected Mode+Vista User Account Control cannot read or write to an anonymous pipe that it created itself. (our long-supported control does this to talk to/from a spawned subprocess.) So far I've found no mention of this consequence in MS docs, or any idea what to do about it (other than force protected mode off). It makes sense, though, as anonymous pipes are implemente ...Show All
Visual C# MS Access database store at startupPath's application
Hi all C# forum members I have a small database application using C# and MS Access.Here is my connection String "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\test\mydb.mdb;User Id=admin;Password=;" It works ok but I m now want to change the datasource to the folder same as folder of application. I mean that when I make a deployment , the data source is same as application folder of user. I 'v know that I need use this method in my connection string datasource =Application.StartupPath +database name but I dont know how to use it, Could you repair it for me Thank you very much. DongMT, Vietnam string connectionString = string.Format( "Provider=Microsoft.Jet.OLEDB.4.0;Data So ...Show All
Visual C# What should I do? ---help...
when I'm doing a MDI application, I have to catch the event : when the child window is closed by click the control box. that means I have to do something before dispose the child. as : mdiParent is form1, the child window is cld. should I add event process and How thank you!! Add a FormClosing event: this .FormClosing += new EventHandler(Form1_FormClosing); private void Form1_FormClosing( object sender, FormClosingEventArgs e) { e.Cancel = true ; } ...Show All
SQL Server Errors using multiple parameters in a SQL Statement
In an OLE DB Source in an SSIS package, we are having difficulties using multiple parameters in a SQL statement. Using a single ' ' works fine, but I've read that when you want to map more than 1 parameter you should use 'Parameter0, Parameter1, etc'. The problem is that when we use Parameter0 and Parameter1 and then try to map it, it says that the query contains no parameters. Can anyone help with the correct way to use multiple parameters in a SQL query that's part of an OLE DB Source task Thanks, Mike Mike Batton wrote: With the following options, here's what happens when I click on the parameters button: Select * from TEW_D_DT where dt_key = Parameter0 and cal_yr_id ...Show All
SQL Server Login failed for user 'sa'.
Hi, I am running Ms SQL Server Standard Ed. with IIS 6.0 on a Windows 2003 Server. Currently having some problems relating to access to database. IIS seem to work fine, as the welcome page which doesn't require access to the SQL database can be opened without a problem. The page which authenticates the login, which contains a fileDSN info to access the SQL via ODBC gives me an error. It says : Microsoft OLE DB Provider for ODBC Drivers error '80040e4d' [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. But when i created the DSN file under ODBC, the test completed succesfully, using SQL Server authentication with user login and password. On the other side, At the SQL Enterprise Manager, ...Show All
Visual Studio 2008 (Pre-release) checkbox capture
i've created a listbox that displays a checkbox for each entry. however i can (the user) click the checkbox without the listbox item being selected. this is a problem because i want to fire an event when the box is ticked but the event is dependent on the position of whichever checkbox has been clicked. hence i need to know the position is there any way of forcing the listbox to change its selected item if the checkbox is clicked thanks for any responses! Try changing the Template, something like this would work < ControlTemplate TargetType = " {x:Type ListBoxItem} " > < Border Name = " Border " Padding = " 2 " SnapsToDevicePixels = " true " > < StackPa ...Show All
