leoku's Q&A profile
Visual Studio 2008 (Pre-release) Installer that requieres WPF
Hi! I want to user installer for my program deployment. And i want to be sure that user could run my program. I think that the better way will be to add some launch condition that requires .NET 3.0 on target machine. But when i try to set value "3.0.4121.6" to the .Net launch condition property i get error message that this version of rumtime is invalid. How can i get through that Do you have specific custom actions that you want your MSI to accomplish I'm curious why you aren't using ClickOnce as a deployment technology. Also, if bootstrapping the .NET Framework 3.0 is the reason for forgoing ClickOnce, you might want to consider using the setup bootstrapper that Visual Studio can create for yo ...Show All
Software Development for Windows Vista Cannot install ANY of Component One packages
Hello, Am running my Visual STudio 2005 on Vista Rc1, so far, no problem. None of my ComponentOne packages (Studio Enterprise 2006-3 and Mobile Suite 2006-3) installs. The installation wizard simply says that it stopped prematurely, nothing was installed or changed. Dunno what I am missing here, all my other components (XCeed etc.) installed without a hitch. Anybody can help Jake ...Show All
Visual Basic BindingSource & AddNew record to dtatbase
I use Vb2005 & SQL Server 2005 database I make a data form to connect to database using bindingnavigator and binding source can I check programatically if my form is in adding new record or not I'm not where I can double-check what I'm saying, but... You need to ultimatly get to the datarow. The DataRow has a RowState property that will tell you if the row is disconnected, added, deleted, etc. I believe you can get to the datarow via the BindingSource.Current property. I'm not sure what exactly you'll get (probably a datarowview), but either way you should be able to drill down until you reach the datarow. Sorry I couldn't give you an example, but hope this helps. ...Show All
Visual C++ Help: C2679: binary '=' : no operator found which takes .......About CAutoPtr
class definition: class CFGManager : public CUnknown , public IGraphBuilder2 , public IGraphBuilderDeadEnd , public CCritSec { public: struct path_t {CLSID clsid; CString filter, pin;}; class CStreamPath : public CAtlList<path_t> { public: void Append(IBaseFilter* pBF, IPin* pPin); bool Compare(const CStreamPath& path); }; class CStreamDeadEnd : public CStreamPath { public: CAtlList<CMediaType> mts; }; //more... } When I use CAutoPtr<CStreamDeadEnd> psde(new CStreamDeadEnd()); in my code, I got c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlcoll.h(101) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. how much should xna...
how much space should microsoft xna have cause my microsoft xna folder has just ~ 10 MB. pls answer cause i'm really desperate. My XNA folder is also just 10MB (10.3). But I'm not sure what that is telling you. Maybe talk more about what issue you are having that is making you so desperate. There are a lot of very helpful people here in the forums so just explain what's going on, what you've tried and I'm sure you'll get an answer or at least pointed in the right direction. ...Show All
Visual Studio Formatting a String?
A database field stores telephone numbers as ten digit strings (for example "8005551234") without parentheses or dashes. I know how to format this in Crystal, I would use the Picture function in a formula to display these numbers Picture ({customer.phone}, '(xxx) xxx-xxxx') If a value from the {customer.phone} field is "8005551234", the formula returns "(800) 555-3002". Formatting a Number Field to Look Like a Date How do I do the same thing in an ASP report The designer displays an error message and RegularExpression library seems unavailable under System.Text. But it compiles without error and it works. Interesting, isn't it ...Show All
Visual C# Method Attribute Inheritance from Interfaces...
...is it possible Sure doesn't seem to be. Consider the application outline below: interface MyInterface { [MyAttribute("some vlaue")] void DoSomething(); } class MyClass : MyInterface { public void DoSomething() { } } Now, it sure would be helpful if I could access that attribute on the class, but no, we get a big "false" from calls like this: Attribute.IsDefined(typeof(MyClass).GetMethod("DoSomething"), typeof(MyAttribute), true); So, I guess I just wanted to confirm that this is in fact the case and I am not just doing something stupid... and if anyone has a good explaination for the behavior that could be entertaining too. As far as a workaround goes I started looking into reflection to grab all ...Show All
Visual Studio Express Editions Increments
Hi all. How can I go about 1. Automatically introduce a constant figure into an SQL database every month-end from VB. 2. Add the values in an SQL database column and return a value in VB. First you would have to make sure that your app was running on month end... In Vb you would use ADO.NET and The SQLCLient Namespace with the command object to send an Insert sql statement to the database for q2 you could set up a stored procedure to add the values and return the sum...then from VB all you would have to do is use the command object to call the strored procedure ...or you could once again use a sql statement to return the sum ...Show All
SQL Server Subquery Question
I'm trying to write a very specific subquery. My table data looks like this. jobname1 complete destinationA jobname1 complete destinationB jobname1 not-complete destinationC jobname2 complete destinationA jobname2 complete destinationB jobname2 complete destinationC jobname3 complete destinationA jobname3 complete destinationB jobname3 complete destinationC The result I need is the job name of all unique job names whose records are ALL complete. So, in the case above, I need the names of jobname2 and jobname3. Here's what I have so far, but itt is so far returning no results: Select jobname from table where NOT EXISTS (Select * from table where table.job_status != 'complete' ...Show All
.NET Development Getting caller information with a regular telephone
Hi all, I would like to know if its is possible when a person calls to me on my phone to get the phone number into VB. Is this possible En if it's possible can i do it with a standard 56k modem, or with other hardware En how can I get the phone number in VB I have a 'caller id' function my telephone line. I can see the numbers on the display on my phone. Sorry for my bad english Now I've been following this thread, he first put it in the VB forum since he wants to writa a VB application to handle this, but someone moved it here. ...Show All
SQL Server Error: Could not find stored procedure !!
Hi, Error: Could not find stored procedure. I Installed the SQL Server SP2 and the error still occurs when ever I call the stored procedure from my windows app!! Any Help Would you mind running this query and posting the results so that we can get some more information related to the object: select uid, left ([name], 30) as [name] from sysobjects where [name] like 'GetMonthRecord%' ...Show All
SQL Server SQL Server 2005 Data File Location
During installation of SQL Server 2000 I set the default location for data files as D:\MySQLServer which resulted in the location D:\MySQLServer \MSSQL. I then installed SQL Server 2005. I do not remember being given the option of specifying location for the Data Files. Then I read that the location for named instances is deteremined by the first installation of SQL Server. The location for the data files for SQL Server 2005 turned out to be MSSQL.1 but under C:\Program Files..... I want the default location for SQL Server 2005 to be under D:\MySQLServer, something like D:\MySQLServer \MSSQL.1. How do I do I change the default location for the Data Files. Jay Hi All, I hav ...Show All
Visual FoxPro Visual Foxpro report writer
I have a dbf with following fields bill no, bill date, cust name,item name,qty,rate,amount and i have 553 records. i want a simple report on 132 column stationary. i dont want totals also. (so no page footer or summary). i used visual foxpro report writer. but the report does not print with proper ejection i.e. second page starts printing from bottom of first page and third page prints from bottom of second page and so on. printer is absolutely fine because documents from excel and word print with proper page breaks. can anybody help No, I am using visual foxpro'r Report Writer. i think i have to select the paper size 8.5"/12". i was selecting us std fan fold which is 8.5"/11". 132 column station ...Show All
Windows Forms How to Read DataGrid ColumnHeader and RowHeader Text
Hi, I have a datagrid based Windows Form Application. That datagrid may be bind to any kind of datasource depnding on some conditions. I can get the column headers text when datasource is a datatable but don't know how to get the column header text when the datasource is an array. Does anyone know a general way to get the headers text which will work independent of the datasource, if not atleast how to get the header text if datasource is an array. P.S. I only have the point where user has clicked on the datagrid. I cannot modify the application and my program injects into the application to get the information about the datagrid. Even if it is bound to the datatable,column header text could be different from the column name ...Show All
Visual Studio Express Editions concerning media player
renee where do I post pause button code btpause.Text = "pause" btpause.ForeColor = Color.Beige ps.....these two lines have to be copied into the play and stop button events ...Show All
