XiMDeb's Q&A profile
Visual Basic Problems with Process class
Hi, I am trying to use media player classic to open certain songs in my program and close it after some period of time. Here are the source codes: dim myProcess as Process = new Process() myProcess.start("mplayer2.exe", "C:\My Song.mp3") myProcess.WaitForExit(60000) myProcess.CloseMainWindow() As the program runs, it can open windows media player and play the song. However, it keeps on displaying exception like this "The process is not associated with certain object" (i don't quite remember the name) when it reaches waitforexit method. anyone can help me thanks a lot. Since you are trying to force a shutdown of the application you may wish to use the StartInfo class of the process and ...Show All
Commerce Server CS2007 training courses - UK
I've been searching for some - there aren't any. Can this really be true Does anyone have any suggestions / recommendations Thanks. I meant Microsoft themselves. I wouldn't be surprised if there wasn't any training in the UK though because the material is still being written from what I remember reading in Max's blog. Paul ...Show All
SQL Server cannot P/Invoke SQLCEME30.DLL when debugging Pocket PC 2003 SE Emulator
I'm trying to debug an assembly with System.Data.SqlServerCe - and when I deploy to a IPAQ 2210 - I get no errors! Alas, when I try to debug using the Pocket PC 2003 SE Emulator - I get the "cannot P/Invoke SQLCEME30.DLL" exception. Can anyone offer directions best regards, Walther Normally VS 2005 would install NETCF and SQL Mobile automatically as soon as you hit F5. If for some reason that does not work, then installation via mapped folder should work. As device vs. emulator, there's no difference in this case. You see, emulator is a device, only simulated. You can even Active Sync it if you want in copy files via AS just like you would do with physical device. ...Show All
.NET Development Reference to a field after record search
Hello, I've the following code to search a record in the database: Public Class LoginForm1 Dim da As OleDb.OleDbDataAdapter Dim ds As New DataSet Dim con As New OleDb.OleDbConnection Dim sSQL As String Private Sub OK_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=""C:\Programacao\Visual Basic\Inapal\ReportIt\ReportIt.mdb"";" con.Open() sSQL = "SELECT * FROM [Utilizadores] WHERE (User= '" & ComboBox1.Text & "')" da = New OleDb.OleDbDataAdapter(sSQL, con) ds.Clear() da.Fill(ds, ...Show All
SQL Server SSMSE Only Installs to the C Drive
I was not given the chance to select the destination for the SSMSE installation. The C drive was used. SQL Server Express was already installed on the D drive. So if I had installed MSDE to my C:/drive but subsequently installed SQL Express on D:/, SSMSE would only go to C:/ That's what I am seeing ...Show All
Visual Studio Team System Any limitations of Version Control
Hello everybody, we are using TeamFoundationServer for about 4 months now and are very satisfied with it. Now our group of SoftwareIntegrators contacted me, they also want to store their scripts / projects from AdminStudio in our Version Control. Ok, we tried MSSCCI provider and everything seems to work fine. Now they come up with a new idea: they want to store all installation packages they get in VersionControl as well. I’m talking about 60 GB in a single TeamProject (growing up to 500 GB possibly). And there are some large files such as the MSIs for Visual Studio and so on... Are there any known limitations of Version Control (individual file sizes or the complete repository) Any timeouts when checking in & out or getting t ...Show All
SQL Server temporary table
hi ! i used some temporary table in store procedure ( sqlserver 2005 ) our team have report software calisto . the calisto use crystal and reports which use this store procedure . because of that , we have list of many temporary table with the same name #dbo . sug_name ... , #dbo . sug_name ... ,...... in the system database . what could be the reason for that and how can we drop it Msg 3701 , Level 11 , State 5 , Line 2 Cannot drop the table '#sug_name' , because it does not exist or you do not have permission . " Missed the last notification of your post, Madhu is right, you should alway be cle ...Show All
Visual Studio Express Editions How to display a .xls file data in my form or tab page?
Hi, how to display a .xls file data in my form or tab page Can the data be edited from the form or tab page possibly, some times its case sensitive so instead of Sheet1 try sheet1 Where is the file located currently the code I posted looks in the application startup directory, the file may well not be there therefore you will need to modify the path of where the file is ...Show All
Visual Studio Express Editions TaskbarNotifier from backgroundworker
With ref to John O'Bryne's great code to run a msn-like taskbar notifier http://www.codeproject.com/cs/miscctrl/taskbarnotifier.asp Please can someone help walk me through how to use this taskbarnotifer in a C# project and run a message "Your job is done" from a backgroundworker's RunWorkerCompleted event Basically I'd like to use the taskbarnotifier instead of messagebox.show Thanks for any help. This is a really neat method. Thanks. Is there any way to have a sliding notifier with a progressbar to show, say, files are being copied async and when its over - ie: progress of backgroundworker ...Show All
SQL Server R
Hi, I am using Sql Server 2005 64bit on a quad processor server with 6GB memory. When I run a some TSQL that uses a cusor the average processor never goes too much above 25%. Memory using is about 300-400K for sql server. Using perfmon it appears the disk queue length is 0 (or very close to it), can anyone suggest some perfcounters that would help me identify why my sql box isn't flying Thanks for your help Graham ...Show All
Visual Studio Team System System.ChangedBy populating with "currentuser" prior to save.
Using the predefined system fields, I would like to add on who created the work item, date of creation, the last person to modify it, and when the last modifications were made. This is not a problem .. or is it It seems that System.ChangedBy is being populated with the "currentuser" who is viewing the work item regardless if he/she has made any changes rather then the the last user who commited changes to the system. System.ChangedBy is updating PRIOR to the save and commit. Interesting enough the field System.ChangedDate is not being populated with the current date that the work item was opened, but rather when the last changes were commited. The System.ChangedDate updates AFTER a save but prior to ...Show All
SQL Server Grouping by Age
I have a table Age and need to create Report by Grouping Salesfigures according to Age. I put the following expression into Grouping and Sorting Properties/General/Filter /Sorting Expression... as well as in Textbox Properties/ values.. =IIF(Fields!Age.Value < 16, "<16",IIF(Fields!Age.Value <21,"16-20") Errormessage: Value expression for textbox "Age" error: Argument not specified for parameter 'FalsePart' of 'Public function IIF(Expression as Boolean, TruePart as Object, Falsepart As Object) As Object'. Question 2 . How to return Month as January, February... In correct order "DATENAME(mm, Sales.time) AS Month" (Ascending ) returns starting with April, August... DATEPART(mm, Sales.time) AS ...Show All
Visual C++ green dot instead of blank space
Hi! I have accidentaly pressed something, and now I have this green dot instead of space. It must be a shortcut on the keyboard, can anyone help Thank you and have a nice day! ...Show All
Visual C# Inserting a first/top line into a Combobox (Windows Forms App)
I'm using VS2005 and need to insert a line to appear as the first item in my combobox, but unlike VS2003 you don't seem to be able to use the ListItem object as it's not available in Windows Forms. Can someone please show me how to insert "Please Select" into my combobox Many thanks Sorted it - All it needed was: combobox1.text = "Pelase select"; right after the binding command cheers for coming back to me though ...Show All
Commerce Server Adding Image Management to Catalog Manager
Hi, I'm currently working with Commerce Server SDK to add Image Managemet to the Catalog Manager. For that, I used the 5 part blog by Max Akbar. It was quite helpful and it almost works now. My problem now is, that i want to get the ProductID, the VariantID, the CategoryName as well as the Catalog Name from the Catalog Manager so that I can use that afterwards for the Entries into the SQL database. How do I get this Information from my new created Control, UploadImages, which is inherited from UserControlBase and IEditableItem Where exactly are those infos located and if I can't get dem dirrectly from my User Control whad do I have to do and pass on, that it's availlable for my purpose Thanks ...Show All
