T.Vargek's Q&A profile
SQL Server SQL 2005 Express Deployment Problem
Hi, how are you! I'm a beginner of database. I have some really "novice" questions here. Currently I'm trying to upload my database to a share windows host server. I have problems uploading my database files. I'm using Visual Studio 2005 and SQL 2005 express version. I was told that in order to upload my database, I need to have.bak file of my database. The problems are: 1. under my visual studio server explorer, it seems I have two databases, one is ASPNETDB.MDF, another one is (mycomputername)\sqlexpress.(databasename).dbo. I dont know from which one I can create the .bak file, and how 2. I can not find where the phsyical location of my files (such as tables or stored procedures) from my (mycomputername)\sqlex ...Show All
Visual Studio Express Editions How do you change form's focus to the internet?
Basically that's my question: how do you hcange the form's focus to the internet I'm trying to make my form detect stuff from the internet when I open it up. ahmedilyas wrote: if you mean you open up an instance of IE and the application "sniffs" items from packets...that kinda would be illegal in a sense (packet sniffer) Illegal Eh What (in any sense) is illegal about that Packet sniffers are not illegal at all. ...Show All
Windows Forms Soft-edged brush
Hi, Can we draw using a soft-edged brush just like what we have in Photoshop or GIMP or the like Coz, usually when we call a pen, it will draw an hard-edged stroke. Thanks in advance. Mmm... i see i haven't tried those. i did tried passing the HatchBrush with 75% style and using a fg color with transparent bg color, but it doesn't give that soft edges effect. Not really sure how to use the LinearGradientBrush to create such effect. But how about TextureBrush... can it accept a gif transparent file. (i'm thinking maybe create a small dot with tranparancy edges) thanks ...Show All
Visual Studio Team System Daily wise resource allocation in MS Project
HI All, I am trying to fetch dailywise allocation of resource. Where do I get no of unit resource assigned on daily. I am using OLEDB.11(MSP 2003) to access values from tables. Assignment table contains only cumulative quantity of resource allocated. But in AssignmentTimephasedByDay , i can see datewise allocation. But I couldnt get unit assigned dailybasis. Please help me Thanks in advance BBN Does your question have anything to do with Team Foundation Server It would appear to me that it does not. I think you need to move this back to the Project forum and explain to them that this is a Project question, not a TFS question. Brian ...Show All
SQL Server Has anyone seen a Licensing screen during the install process?
Hi again. I have been deploying the first few test SQL 2005 machines recently, from what I was told is the full-feature edition DVD received from the https://licensing.microsoft.com website. We have purchased a mixture of per-processor and per-user licenses to use for this software. However, I am never asked what licensing mode to use during the install. Can anyone confirm or deny that a setup screen appears asking what licensing version you want to use (per-user or per-processor) I cannot confirm what was downloaded from the licensing-website because I don't have access through the company. I have the same symptoms as seen on this postings: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=360181& ...Show All
Software Development for Windows Vista Problems with ClearType text in a custom control
I hope this is the right forum for this question. I first saw this problem on Vista, though I've since found that it happens on XP as well. The basics: I have a custom control in my app that displays some text on top of a bitmap. The bitmap may be created programmatically, or by loading a resource or file. All this is done in an off-screen memory DC, and then blitted back onto the screen to avoid flickering. The problem: When ClearType is enabled, the text becomes very ugly, almost as if every letter has a black outline around it. I assume this is supposed to be the sub-pixel antialiasing, which has somehow turned black when I blit from the memory DC to the screen. Question: how can I allow and use ClearType in my control and still have it ...Show All
.NET Development Excel and OLEDB: selecting a row by row number
Hello, I'm using OLEDB to access Excel data, I want to be able to select a row by a row number. Is there a way to do it Thanks, Hi, Yes, I believe there is a way to do this. This is what I ran and returned a value: command.CommandText = @"select City from [Cities$] WHERE ID = 1" ; connection.Open(); string strCity = command.ExecuteScalar().ToString(); ...Show All
Windows Forms Drop down list which you can enter values
Hi there, I don;t do alot of user inetrface stuff so I'm a bit stumped on this. I want to put a control on a form which is essentially a drop down list (which is bound to a data source) BUT i also want a user to be able to enter another value which is not in the list if they desire. Is this possible and what control do I need Thanks. hrubesh wrote: dropdown style works. in the code, if the user press the f7 key,.. something happens. Private Sub ComboBox1_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles ComboBox1.KeyDown If e.KeyCode = Keys.F7 Then Me .BillTableAdapter.Insert( Me .ComboBox1.Text) Me .BillTableAdapt ...Show All
Windows Forms Problem with DataGridView autoscroll. Please help.
Greetings, Could someone plese help me on this issue. I'm a junior developer and have been struggling on this for quite some time now. The problem I have is that I have a DataGridView. Inside the DataGridView I have a number of rows. The DataGridView is placed inside a Panel. The Panel's autoscroll preoperty is set to true. The DataGridView's autosize property is set to true. At the moment the DataGridView has enough rows to have the Parent Panel scroll up and down. But there's a problem. Each time I click on a cell to edit it the ScrollBar scrolls automatically. I know this has to do the the CurrentCell thing allowing for the autoscroll to take effect. But how can I prevent this Is there a way to do this Any help will be appreciated. Tha ...Show All
Visual Studio 2008 (Pre-release) System.InvalidOperationException: The SqlCommand is currently busy Open, Fetching
Hi i have problem with accessing the third party component(for data access) in case of multi-user one user can gets values and the second one gets an exception of System.InvalidOperationException: The SqlCommand is currently busy Open, Fetching. Now this is thrown from the component cause i have no access to the database directly. Is there a different way to access the components from webservice thats running under IIS ...Show All
Software Development for Windows Vista WDK build issue??
Problem stmt: Binary built via WDK server 2003 build environment are not working on Windows XP I am using Windows Driver kit 6000 (WDK 6000 ) release to build binaries. According to MSDN's WDK documentation If you want your driver to run on multiple versions of Windows and dynamically determine the features that are available to the driver, build the driver in the build environment for the most recent version of the operating system. For example, if your driver will support all Windows versions starting with Windows 2000 but you want the driver to use certain features that were first made available in Windows XP when your driver is running on Windows XP ...Show All
Windows Forms TableLayoutPanel cell border drawing problem
Hi- I want to use a tablelayoutpanel for formatting purposes. And I want to have it draw borders around the cells. However, the border drawing seems to understand column span, but not row span. So a multi-column field gets a great border. However, a multi-row field gets a border drawn right through the middle. Yuck. Is there a way to override the border drawing or would I have to draw everything myself (thus, obviously defeating the whole purpose of the control) Thanks. -Gary I'm surprised that you say that it understands column spans! what happens usualy is that does not understand neither of them! The TableLayoutPanel control's main job is to provide a pannel with a table layout engine. It does not see ...Show All
SQL Server import multiple text files?
Hello, I am kind of new to Sql Server 2005. I figured out how to use the import data wizard to import a delimited text file. But I need to find a way to import many delimited text files at once. does anybody know if this can be done in Sql Server 2005 and how thanks in advance, Hi, you should probably use integration services for that. SSIS has a special task for that which will loop though a directory and inmport all text files which fit into the filter specified before. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Basic Adding list items from delimited text file
Back again with another Noob question. My form will ammend user's input via text box to a delimited text file, but i want to get the info from the text file to show up in a listbox. How do I accomplish this I already have the listbox on my form and have tried ... My .Computer.FileSystem.ReadAllText( "C:\Entries.txt" ) and Private Sub ListBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim filename As String = "C:\Entries.txt" Dim fields As String () Dim delimiter As String = "," Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) While Not parser.EndOfData ...Show All
.NET Development Exception: An established connection was aborted by the software in your host machine
I get following exception each time i try communicate: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine I have very simple flow: 1. Send synchronized HTTP request 2. Call WEB service API in block mode 3. Send asynchronous HTTP request. The third request always fails no matter what i do. All requests are sent to same host though different servlets. Host machine is running Tomcat WEB service within J ...Show All
