Khabibulla's Q&A profile
Visual Studio Express Editions .Net 2.0 check + Gzip
Hello there, I'm writing a program for installing a software package on a lot of computers. There are two things I didn't succeed in. First, I need to check whether the computer has installed dot net framework 2.0 (registerkeys) And the second, I'd like to decompress the files from Gzip files to installable files. Now, I've been seeking all over the internet for tuts how to make a decompressor for a Gzipstream in vb 2005, but i didn't succeed. Is there anyone who has a code snippet for me, with a working Gzip decompressor Greet, Douwe well here is a generally used way of doing this. Be sure to import the System.IO and System.IO.Compression namespace private sub cmdOpen_Click( byval sender as object , byval e as EventArgs) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question on XNA performance
Before I begin, I'd like to say I enjoy the work Microsoft has put into XNA. As I develop for DirectX I find XNA a great tool for possible projects down the road. As I was reading more into the docs, a random question popped up in my head and I thought it was worth asking about here. Before I get to my question though, I'd like to share how it related to OpenGL's early stage on Vista's platform. The intention for Vista was to have OpenGL 1.4 on there but layered with Direct3D underneath still making calls to the hardware. Esentially, making an OpenGL call would actually call a Direct3D call. Now, we're informed that if an ICD is installed, it will work without Direct3D making calls underneath. The response from developers ...Show All
Audio and Video Development Taking Screen Snapshots
Is anyone aware of a way to take screen captures of the video and save those to the player storage for later viewing Xavier Arnau wrote: i can't follow you at all, you say that in this code the event comes from the playlist... what i need to write in the playlist to do that On the other side... i don't understand the part of ps directory, i have to create it manually Or it already exists How can i open it to saw if there's anything in... I have C:\Archivos de programa\HD DVD Interactivity Jumpstart\Samples\Events\ADV_OBJ and C:\Archivos de programa\HD DVD Interactivity Jumpstart\Samples\Events\HVDVD_TS so where is the ps directory For firing events from the playlist use <ScheduledCo ...Show All
SQL Server SQL Replication: 2005 (Publisher) and a 2000 (Subscriber)???
Hi, I was wondering if it is possible to setup replication between a 2005 SQL Publisher and a 2000 SQL Subscriber Is there any special setup steps I need Thanks so much, David Hi David, Yes. It is possible. For things to consider, you may check out this document: http://msdn2.microsoft.com/en-us/library/ms143241.aspx . You would need a 2005 SQL distributor. Peng ...Show All
.NET Development DataAdapter inserting values into the database, dataset not having Primary Key for new row
I've created a DataGridView and I want to be able edit the values and instantly update the database. I can update the database sucessfully using the below code but the dataset does not get updated with the primary key of the newly inserted row from the database. As such if i then try to use the new row i can not get it's ID. Is there a way to force the dataset to get the primary key of the new row that i've added to the database Private Sub fieldsBindingSource_PositionChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles fieldsBindingSource.PositionChanged Try Dim thisBindingSource As BindingSource = CType (sender, BindingSource) Dim ThisDataRow As DataRow = CType (thisBinding ...Show All
Visual Studio Business Intelligence Development Studio (BIDS) Unavailable in VS2005
My computer had been running great for the past two years until now. I had VS2005 installed, with BIDS and VS For Database Professionals CTP6. I was trying to install Database Professionals CTP7 and it asked me to remove CTP6. I removed CTP6, and again tried to install CTP7. It said that I needed Visual Studio Team System installed (but I already had it installed!) After that, everything started taking a *** and I couldn't open anything anymore - it seemed all my project types were screwed. I started uninstalling everything, all of Visual Studio, the .Net framework 2.0, and SQL 2005 because nothing was working anymore. After reinstalling .Net Framework 2.0, Visual Studio 2005 and SQL 2005, I don't see the Business Intelligen ...Show All
Visual C++ Text field question
Hi Folks; I have a text field that gets its contents from a SetDlgItemText call. The text goes beyond the length of my text field so I was wondering if anyone can point me to a list of flags so that I may allow the user to read to the end of the text field. By hand Why You should consider downloading Visual Studio Express if you haven't got VS. Anyway, this is a sample resource string for a multiline textbox with horizontal and vertical scrollbars, as well as automatic horizontal scroll, switched on: EDITTEXT IDC_EDIT2,65,18,157,49,ES_MULTILINE | ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL For flag information, see http://windowssdk.msdn.microsoft.com/en-us/library/ms672063.aspx ...Show All
SQL Server Error: 18456, Severity: 14, State: 11 Valid login but server access failure
Hi I am new to SQL server and I have been trying hard to make a client computer to remote connect to a SQL express database on host computer I have a VB6 application that can connect to SQL server database LOCALLY without problem: Connection String is: my_connection.ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyMushroom;Data Source=LAPTOP\SQLEXPRESS" I have followed instruction on enabling remote connection function from this blog: http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx I then try to run the same app from the client computer, it gives me: Login failed for user 'LAPTOP\Guest'. After looking up the web for solution, ...Show All
Smart Device Development Already installed
Hello, Every time when I debug my solution there appears a very annoying message on my Windows CE device: Already Installed ----------------- Microsoft .NET CF 1.0 ENU-String Resource is already installed. Reinstall How can I switch that off If it's already installed I don't want to reinstall it every time... Thanks for your help! Hi, Peter When I try that, I get the message Could not find the file "System_SR_enu.cab" on the emulator. - rick ...Show All
Visual Studio Express Editions Data Grid Question
This is from the help Private Sub ResetSource() DataGrid1.SetDataBinding(adoPubsAuthors, "Authors") End Sub I would like to set my Data Source to be based on the results of two combo boxes in my form. I guess my question is, can it be set on a query vice a table. SELECT * from Ply WHERE LN = '" & cmbL.Text & "' and TN = '" & cmbT.Text & "'" OK. Not doubting you my friend. I will double check all my stuff. Thanks again for your assistance ...Show All
SQL Server Grand Total Problem in Excel
I found a problem when I use Excel 2003 with MSAS 2005. The problem occurs when I use the Hide Levels feature on a row dimension and select the grand total for columns option. I noticed that when I apply filters to the selection, the Grand Total does not reflect the filtered members. If I Show Details then the Grand Total is properly displayed. However, this problem does not happen on every diminsion. I was able to duplicate the problem using Adventure Works DW. In Excel, put the Product Categories in the Row, Source Currency Code in the Column, Sales Amount as the Data, and Filter on Weight (2.12) and Date.Calendar Year (CY 2004). Ensure that Grand Total for Columns is checked. Show Details down to the Product level; notice that the Grand ...Show All
Windows Forms Lock windows
In my program at times a new window will be opened. How can I lock it so that they can not goto the window in the back They will have to click ok or cancel to goto the previous window. RajDas wrote: How can I lock it so that they can not goto the window in the back They will have to click ok or cancel to goto the previous window. That's exactly what the modal dialog means. ...Show All
SQL Server Notification output file in eml format
Hi, Is there a way to receive the Notification events as eml file and save it in a local path which we supply instead of sending email's Thanks, RR06 If you are using the local SMTP service, you can simply stop it and the notifications will appear in a subfolder of your mailroot folder (can't remember off hand, perhaps the pickup folder ) HTH.. Joe ...Show All
Smart Device Development How to play wav through phone line?!
I try to make a answering machin for pocket pc 2003. So I need to play wav through line when incomming call happend. How should I play wave files through lines ! If I'd know that philosophy was within the bounds of this forum I would have posed this question long ago… Q: How many software engineers does it take to change a light bulb ...But I already know the answer and it's fitting for this thread… A: None. It's a hardware problem. Tony ...Show All
Internet Explorer Development IE7 - File Not Found ieframe.dll\1
Hello, After upgrading to IE7, all of my programs with the "Microsoft Internet Controls" (i.e. Webbrowser) are breaking when I load them in code (compiled still works though). I get the following error: "File Not found 'C:\Windows\system32\ieframe.dll\1' However, if i look in my references, all I can find that is there is the reference to shdocvw.dll, no ieframe dll. If I open a new project and add the controls, then I get the same error. To me there is something broken between the two. The strange thing is, it worked fine yesterday. I don't have my computer set to do automatic updates and I didn't do any updates last night. Anyone else having this issue Regards, Ryan So ...Show All
