Greater's Q&A profile
Windows Forms Can we add window form to class library in .Net?
Getting unspecified error... Sure. You can add a Windows Form to any project. You don't necessarily want to display such a form in any project but for Windows apps it'll work just fine. Class libraries often contain UI elements that provide some functionality (like .NET itself or any of the third-party components available online). Could you post the error you're getting so we have a better idea of what your ...Show All
Windows Forms Displaying Time From Two Countries
Hi i have a Windows Application!! In which i need to Display the Time of Two Countries, For example: When the application is Loaded, i want to Display the "Local Time/System Time" and "GMT time" and "Eastern Standard Time" on the window!! In .NET there is option only for getting the current time zone!!("System.TimeZone.CurrentTimeZone"); ! Any helps or any sample codes or suggestion !! Please! Thanks i ...Show All
Visual Studio Express Editions visual basic express or visual studio professiona? which one?
I'm a developer who has downloaded vb express and sql server express for my home computer. I wanted to know if I should break down and buy visual studio 2005 professional or should I just stick with the express version of vb. My funds are very limited and my skills as a windows developer are still emerging. I'm not yet a great windows developer. I will use vb/sql express for personal projects and learning and possible small business applicat ...Show All
SQL Server Computer Memmory Resources consumed after generate MAAS Cubes (SQL 2000)
Dear All, I have created some cubes with Analysis services (sql server 2000 Personal edition) After processed the cubes if I restart the computer seems like the memory resources are being consumed by the msmdsrv.exe and the msmdvldm.exe, it takes about 30 minutes to the system becomes available; I would like to know how if theres a way to configure my OS and the MASA sides to have better response. SQLSERVER 2000 Personal E ...Show All
.NET Development How to leave out the connection string
Hi everyone. My question is I currently ha a webpage running on 2 machine. Which is a PC is for IIS to display the webpage, and a server to store my data. Currently my connection string is I hardcode it inside my coding, which it will create a dll file for that connection string.That is because i have no idea how to exclude it from my coding. So i was curious, can i exclude my connection string from my coding. ...Show All
Visual Studio Express Editions Disabling Buttons
I'm in the proccess of try to create a program that, at log in the user must accept the terms and conditions but I'm having trouble of diabling things like the windows key to stop people for bypassing it, does any one know of any coding I can put it to disable these buttons. Any help would be greatly apreciated Cheers Buttons include: Windows Key Windows Key + .......(e.g "e") Ctrl+Alt+Del any other that I've o ...Show All
SQL Server sql install as default ..new registration
Our network guy here installed sql with the default settings...so now when i bring up SQL EM i get local but i need to delete this and add a new registration. Its says use windows login account or sa...........If i use sa...will the SERVER be in mixed mode authenticaion....or i set that afterwards.. Also i want the SQL to start with DOMAIN/SQL account how to change. I know if i installed the SQL i can select all this during installat ...Show All
Smart Device Development Activesync fails to sync after installing vers. 4.0
Hello to all, I have upgrade activesync from version 3.7.1 to 4.0 in order to deploy my application in VS2005 beta2 to the device. After doing that, activesync stops to work: although the AS icon show connection (green) when the PDA is in the cradle, is is not possible to get the main screen of activesync ; and, when trying to explore the device, I get the following error window: " Critical communications services have failed to ...Show All
Visual Studio Team System Can I access the SQL server databases directly?
I have found the following database files in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data STS_team-foundation_1.mdf TfsBuild.mdf TfsWarehouse.mdf tfsWorkItemTrackin.mdf ->this was what i was looking for My problem is that I can't seem to access the database using the visual studio "connect to database" tool. I tried all three of the user that were created for the server setup(tfsSetup, tfsReports, tfsService) t ...Show All
Windows Forms Failed to load resources from resource file
Hi, I may just be being thick here but, after installation, setting up a new Terrarium, compiling the simple carnivore, and trying to indrocude the animal to the Terrarium, I am getteing the following error: "Setup Error Failed to load resources from res ...Show All
Visual C++ mspdbsrv.exe consumes more than 500MB of memory
vs 2005 beta2, exp. ed. Is it common for this tool to consume such amount of memory Then it's almost impossible to do anything with your desktop. Except for pathologically large projects (which I am assuming is not the case here) a half gig for anything in Visual Studio is likely a bug. I'm not seeing this issue on the RTM version of VS 2005. Does this memory consumption stay at 500mb even after you end the mspdbsrv.exe process ...Show All
Windows Forms DataGridView and ContextMenuStrip
Hello all, 2 questions about using ContextMenuStrip in conjunction with DataGridView: 1. How can I get a ContextMenuStrip to open only if the user right-clicks on a cell, and not a cell header/row header/background/etc My current solution is to associated the CMS with the columns, and not the DataGridView, i.e.: datagridview1.ContextMenuStrip=Nothing For Each c As DataGridViewColumn In datagridview1.Columns c.ContextMenuStrip = dgvContext ...Show All
Windows Forms Duplicating MS Access Continuous Subform Functionality in .Net
Hello All, I'm currently writing an Inventory Control and Invoicing program for a friend. I statrted writing the app in MS Access and found that I couldn't get the level of control I needed. Rather than write it on old VB, I thought  ...Show All
SQL Server varchar columns shown as nvarchar via ODBC
Hi When I extract data from an ODBC data source using a DataReader, varchar columns are shown as detected as DT_WSTR, and so require a conversion back to DT_STR before they can be inserted into varchar columns in another table. I've tried this with a couple of different ODBC drivers, including the MSSQL one, and had this problem with both. Is this a bug, is it intentional, or am I doing something wrong Steps to reproduce it: 1. In Management ...Show All
Windows Forms Need help with BindingSource (was: Pls Help.......!)
Im getting an error with the BindingSource. It tells me that the BindingSource.DataMember does not exist. But that is the only table in my database called Table1. You can copy this code in a form & create two text boxes named txt1 and txt2 respectively. The code follows : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using System.Text; using Syst ...Show All
