KevMac's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Does XGSE play nicely with Visual Studio 2005
Hi, I read in one of the threads that XNA Game Studio Express is dependent on Visual C# Express. I have a Visual Studio 2005 development environment on my system and I am worried that installing VC# Express may cause some problems. Will these products play nicely together Thanks. T Heh, I can top that. At my last position, I had all that plus the old VS Interdev 6.0 installed because I had to maintain some old classic ASP sites. And besides the issues of having interdev on any machine caused -- the apps worked well together. ...Show All
Smart Device Development can not find System.Data in Compact Framework 1.0 project
Hello everyone, I have used Visual Studio 2005 to create a C# .Net Compact Framework 1.0 application on Pocket Pc 2003 device. But when building the application, there are some errors dealing with System.Data can not find. I have solved this issue by manually add System.Data from References of project, and it is working now. I am wondering whether we should manually add reference to System.Data in an application based on .Net Compact Framework 1.0 (Pocket PC 2003). thanks in advance, George Hi Ilya, I am creating an empty project, and System.Data is not referred automatically. But standard smart device application has System.Data as automatic reference. So, are these behaviors designed or expecte ...Show All
Visual Studio no help for asmx web service factory
Hi, I've downloaded the guidance automation toolkit (June 2006 CTP), to allow me to play with the web sevrice factory download. However, when I start a new asmx web service factory project, the links on the guidance navigator always fail to find local or online help. Can someone please point me to the place i can download or browse the appropriate guidance files Many thanks in advance. Gordon Doherty Hi Gordon, I've tried this and I can repro. This looks like a bug in the Web Services Factory installer or such as it looks like it's not registering properly the help file. This forum is for GAX and GAT related questions so you may want to try the Web Services Factory specific forum on GDN (or codeplex, not sure i ...Show All
SQL Server Import Flat Files
hi all i using SSIS to import flat files and i need support how can i import flat file from folder inculed many files and when finish start to next and next ..... if can i select from flat files to add condition like Select * from.....where ...... thanks Hosam Abd EL-Wahab wrote: hi all i using SSIS to import flat files and i need support how can i import flat file from folder inculed many files and when finish start to next and next ..... if can i select from flat files to add condition like Select * from.....where ...... thanks You can run a foreach loop in your control flow to loop over every file... No, you can't do a select * from flatfile where.... However ...Show All
Visual Studio Tools for Office How to combine two ranges?
Hi All Do you know any method that can combine two ranges Using following code I can't achieve this because COMException is raised with HRESULT 0x800A03EC: using Microsoft.Office.Interop.Excel; Range r = sht.get_Range( "B2,C3" , missing ); // faires COMException with HRESULT = 0x800A03EC: Hi Dmitriy Dmitriy Ovdienko wrote: Looks like I'm using Microsoft.Office.Interop.Excel and you are using Microsoft.Office.Tools.Excel. That is why the results differ. Well, yes, you've posted in the VSTO forum, so generally we'd expect someone to be using the Tools and not the Interop. But Steve did also give an Interop example. However, the syntax you both used in ...Show All
Visual Studio Express Editions close to tray
i try to do close to tray but somehow it always auto call close whenever I try to restore from tray . the window is call as another thread from main window . here the code Private Sub winSetQueue_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing if reallyclose = false then NotifyIcon1.Visible = true Me.WindowState = FormWindowState.minimized Me.ShowInTaskbar = false e.cancel = true end if End Sub Private Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.Click NotifyIcon1.Visible = False Me.ShowInTaskbar = True Me.WindowState = FormWindowState.Normal End Sub if i use hide() it will worse, the window auto close wit ...Show All
Visual Studio Express Editions Hour Glass Running
I created a program with input text boxes that do calculations and place the data in the output text boxes. The hour glass by the mouse curser runs continuiously. How do I turn this off or is it normal. Thanks Did you do anything to specifically chnage the cursor itself. What else is occuring on this machine when the hourglass is displayed. Are we talking about this occuring in the development environment or in when your are running your application outside of the IDE. ...Show All
Windows Forms How to pass reference of control to a property?
I have a customer control and a datagridview control in one of my windows form. What do I want is to and a property in my customer control and refer to the datagridview, just like refer a contextmenu to a datagridview. then in my customer control I want to access that datagridview. my code is like below, but it doesn't work: <code> class windowform Me .UsCtrl.uDataGridView = Me .myDataGridView end class class UsCtrl private v_rdv as windows.Forms.DataGridView Public Property uDataGridView () As windows.Forms.DataGridView Get Return v_rdv End Get Set ( ByVal value As windows.Forms.DataGridView ) v_rdv= value End Set End Property </code> Please help me ...Show All
SQL Server How deos Schedule Subscription evaluated within Notificaion Service
Hi, I have read most of the threads here and many online resources but still couldn't find my answers. I am trying to set up a schedule subscription with the following condition: 1. condition: Users borrow books and should return in 30 days. 2. They should be notified 3 days before the book return date. The return date is different for every user depending on their borrow date. 3. Now can I make use of schedule subscription to achieve this. Basically one schedule subscription, different schedule datetime depending on return date. I couldn't figure out how to proceed. How does the scheduling work within in NS and how does it make use of the following fields from the schedule table: UtcTime, ScheduleType, ScheduleData, Schedul ...Show All
.NET Development SoapException throws differently by server
I have a ASP.NET 1.1 web site calling a ASP.NET 1.1 web service on the same server and the SoapExceptions being thrown between the service and the site are different between two of our servers. This application has been working fine on Windows 2000 and on the first Windows 2003 IIS 6 implementation but when we began the migration we started having issues. Are there any settings in IIS 6, .NET, or WIndows 2003 that impact how SoapExcpetions are thrown/handled between a .NET web site and a .NET web service Thanks for the help! Do you ever get the "10003" message If so, under which circumstances. And under which circumstances do you get the other. How do you retrieve the exception information ...Show All
Windows Forms ListView help
hi I have a ListView setup with items and subitems but i cant get it to do anything when i click on it I have looked through the MSDN library and found nothing that can help. The view mode set as Detail so that i can see all the contents but i wanted a messageBox to appear when i click on an item in the list. can anyone plz help. thanks Hi, They're seperate files. .pdb means program debug database. If you compile the project in the debug mode, then it'll be generated. .dll is dynamic link file. It is mainly used as the auxiliary file, to provide services for other programs. You can have a look at the assembly options. e.g. /debug [= IMPL | OPT ] Includes debug information (local variable and argume ...Show All
SQL Server Widget Factory Query
Consider the following. Widgets are made of possibly several parts. A table T exists with columns widgetID and widgetPartName. If widget with ID 7 has parts rotor and rooter, T contains tuples: (7, rotor) and (7,rooter) Boss needs table R with two fields: widgetID and widgetPartList. The widgetParts field should be a string concatenation of all widgetPartNames separated by "/": Example: R contains tuple (7, "rotor/rooter"). Big tables, widgets can have many parts. Any ideas I missed that class. I think that is what he wants. Look at what he says: A table T exists with columns widgetID and widgetPartName. If widget with ID 7 has parts rotor and rooter, T contain ...Show All
Windows Forms Refresh DataBinding
Hi, How can I manually trigger a databinding to refresh my controls binded to a datasource. (DataSource have been updated behind the scene.) Similar to Page.DataBind() in ASP .NE Ohhhhh.... ok. I just "assumed" it was a WebForm. Databinding in WinForms is "so straightforward", according to MS, that they didn't include a DataBind method for controls. Instead, you can do various things such as fire an event when you want to rebind the data and then Fill the dataset(s) that you want to refresh. Fill'ing the DataSet should refresh the data on the controls attached to the DataSet. Curtis ...Show All
Visual Studio Tools for Office Type Mismatch error when using Find method in excel
I know that I had posted this before, but no one responded and I still can't find the answer :(.... Can anyone help me out with this I'm trying to open an existing excel file, search for some text, write some text to the document, and save the document. Here is my code: Microsoft.Office.Interop.Excel.Application xlApp = new Microsoft.Office.Interop.Excel.Application(); xlApp.Visible = false; String DocumentLink = "whatever.xls"; if (!System.IO.File.Exists(@DocumentLink)) { Console.Write("\t*DOES NOT EXIST*"); } else { Workbook wb = xlApp.Workbooks.Add(@DocumentLink); Worksheet ws = (Worksheet)wb.Worksheets[1]; Microsoft.Office.Interop.Excel.Range RangeOfText = (Range)ws.get_Range(" ...Show All
SQL Server Stored Procs vs. SQL in Report Definition File
The DBA's in my group are setting some guidelines on their new production database servers, and are heavily leaning towards all report access via stored procs. Are there any guidelines as to when to call a stored procedure from a report vs. embedding the SQL in the report definition file Thanks for any help. -Larry ...Show All
