minamur's Q&A profile
Visual C++ Question about properties
Hi, I have some trouble with "property". I currently have a managed object with a set of properties, which acts as a layer on top of another one, in order to display some informations in a property grid. When I create a simple property, like "property float Depth;" it works fine. Then, if I write : property float Depth { float get(void) { m_Depth = 1.0f; return(m_Depth); } } It also works fine. But the following doesn't work, and I don't understand why : property float Depth { float get(void) { m_Depth = this->GetDepth(); return(m_Depth); } } float GetDepth(void) { return(1.0f); } Instead of showi ...Show All
SQL Server Cannot connect to SYNDIOMSVR. InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor arc
I have the following mssql2005 error when I try to connect to the object browser.. [C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.SmoEnum\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.SmoEnum.dll] InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor architecture specified. (ObjectExplorer) Can anyone help me Thank you....god bless you all.. The .NET framework version has to match what SQL Server was compiled to use. CTP versions of SQL Server require the corresponding CTP version of the .NET framework. The RTM version of SQL server requires the RTM version of the framework. ...Show All
SQL Server SQL Server 2005, MS Access Merge Replication?
Hey there! In a nutshell, I want to do a merge replication with a SQL Server and several Access databases. I haven't been able to find anything in the documentation or 3rd party books. Is this possible Thanks! - Erik What version of SQL Server are you using This feature has been deprecated in SQL Server 2005. Here is a pointer to the old documentation http://msdn.microsoft.com/library/default.asp url=/library/en-us/replsql/replhet_956b.asp Have you considered merge replication to SQL Express subscribers, this is a great scalable solution. Thanks Nabila Lacey ...Show All
Windows Forms Trigger fill dataset from other form
Hellow, This is the situation: I have one form (form1) and another form (form2). Form1 is the standard form that opens on application run. In form1, there's one datagrid, bound to a dataset (members of form1). When I click on a button "new row" in form1, form2 opens. In form2, there are several textboxes to fill in (the columns of form1). When I click " ...Show All
Visual FoxPro SELECT statement is showing unwanted display of data and is not passing data to a table.
I'm using a SELECT statement to pull out data from a table... that is working great. What I'm trying to do is feed the selected data to a different table using REPLACE so that it can be used by a report. All of this is triggered from a command button on a form. Here's the code for the CLICK property of the button: SELECT store, stock, year_1, make_1, model_1, auction1, transport, recon, sold_for, fees, net_check, result ; FROM wholesale_table1 ; WHERE In_Date >= DATE ()-60 ; && sets a sixty day date range AND sold_for < 1 && removes all sold vehicles && store.value ='DODGE' -> uncomm ...Show All
Visual Basic determing the current color depth
I am working with an application, that if in remote desktop the color depth is not correct then the app does not load. I was wondering if there is something in the API to determine the color depth of a machine so I can send a message to change the settings - from 256 to 16bit. Thanks Tom Hi, tblind, In VB2005, My.Computer.Screen.BitsPerPixel will return the screen depth of the machine that the app is running on. Hope that helps! --Matt Gertz--* VB Compiler Dev Lead ...Show All
Windows Forms Generic User Controls?
After working on a windows forms project I realized many of my screens do very similar tasks on completely different types of data. I then decided to create a generics based user control to make reuse of all of this common work based on the Type of object the specific instance of the control is using. After I build my control I realized I no longer get any design-time support for my class. It doesn't even show up as a user control available in the tool bar. This makes sense, since an instance of a generic type needs the type defined in order for it to be rendered on the screen, however is there any way I can add this generic type to my wi ...Show All
Windows Forms Leadit.ExtendedDataGrid contrlol
has any one used the Leadit.ExtendedDataGrid control from http://dotnet.leadit.be/extendeddatagrid/ I would like to know if any one has got the datagrid Combo control to work with display/value pair from a dataset I can get it to work when the value member = the display member.. when I use it. it shows the value value and not the display member, but if I  ...Show All
Visual C++ Property Sheets - A problem
Compiler: Visual Studio.NET 2002 Hi everyone, I am having trouble teaching myself Property Sheets. I thought I grasped the ideas but I get a 'First-chance exception' in the Output window when debugging. I do not think I am doing anything special, my code is: CPropertySheet propsheet(_T("Property Sheet")); MyPage pageFirst; // derived from CPropertyPage MyPage2 pageSecond; // derived from CPropertyPage propsheet.AddPage(&pageFirst); propsheet.AddPage(&pageSecond); if (propsheet.DoModal() == IDOK) { } MyPage and MyPage2 are created in the normal way in the resource editor and the classes are created using ...Show All
Visual Studio Express Editions Windows system registry string problems.
Hey all, I'm BRAND-NEW to Visual Basic, so please be gentle. I'm writing a small application which stores its values to the Windows Registry under HKEY_LOCAL_MACHINE. I can store True/False variables just fine, using code such as: My .Computer.Registry.SetValue(keySoftwareSettings, "DisableToolStripMenuItem.Enabled" , DisableToolStripMenuItem.Enabled) I can then retreive this variable upon load with: DisableToolStripMenuItem.Enabled = My .Computer.Registry.GetValue(keySoftwareSettings, "DisableToolStripMenuItem.Enabled" , True ) The problem comes when I try to save a text variable. For example, the ...Show All
SQL Server Criteria validation Reporting Server
Hi Does any one know how we can validate the input criteria in reporting server 2005 By saying this I mean to say; let say we have to dates “Start date” and “End date” as criteria to one report. How can I check that the Start date must be lower or equal to the End date Any advice is appreciated. Regards; Rakesh please follow the link http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=326495&SiteID=1 Regards; Rakesh ...Show All
.NET Development Exception: Unable to read data from the transport connection
Hi, We've written code in C#.Net (Microsoft .Net Framework 1.1) for a Windows service to download the .csv files from different sites over GPRS connections through FTP. The Service runs on mulptiple threads to connect to multiple GPRS modems (as of now we are using 3 GPRS modems/connections) to collect the files from different sites at the same time. It all download files and works fine for some time. But later after some time any one of the gateways only works where in the other two goes into hang over condition. At this time there are no trace logs also been updated to find out the root problem. But very recently we got the message t ...Show All
Windows Forms Obtaining images from Imagelists based on image name
Hi, I am designing a form in which there are some buttons created dynamically and each button has an image associated with it. The images are taken from an imagelist. During the application start up, the imagelist is loaded dynamically. My application needs to extract icons from the imagelist based on the icon name.The imagelist is to be searched and the index number of the particular icon is obtained I have tried to use the the getindex() method so that I 'll be able to get the index number of the desired icon the code looks like i = ImageList1.Images.IndexOf(img) But this is not working. It says getindex method is not supported ...Show All
Windows Forms FileDialog and Listbox
Hi I have a button which opens a file dialog and allows the user to select multiple files. But instead of opening the files I need a list box to display the list of files selected. Is this possible if yes how do I get the list box to display the list of files.What objects should I be using . Thanks in advance. You migth want to check this link: http://www.codeproject.com/cs/miscctrl/FilesListBox.asp ...Show All
SQL Server Latest RDL Specification?
I read in someone's blog somewhere that the RDL Specification was changing for SSRS 2005 ( http://blogs.msdn.com/gsnowman/archive/2005/10/12/480328.aspx ). I went to the MS Reporting Services website and this version of the specification appears to be old ( http://www.microsoft.com/sql/technologies/reporting/rdlspec.mspx). ; Can someone either confirm or deny that the spec located at http://www.microsoft.com/sql/technologies/reporting/rdlspec.mspx is the latest RDL specification for SSRS2005 Thanks! Brian McCullough The RDL spec was recently updated and is now available at http://www.microsoft.com/sql/technologies/repo ...Show All
