S6oobyh's Q&A profile
Visual Studio Express Editions Can't seem to change opacity of window
In this code: http://nomorepasting.com/paste.php pasteID=74503 I'm trying to simply change the opacity of any window. But that doesn't seem to be working. Anyone know what I'm doing wrong and/or how to get this to work I'm not talking about changing the opacity on the forms my app spawns, thats easy, but any other window, like mIRC, or internet explorer. ...Show All
SQL Server Combining records/Foreach Loop
I'm working on a data migration that requires combining rows/values from one table to update rows in another table, and I can't figure out if I need to do a nested FOREACH or something else. Here's the example. I have a table called Health that has a unique child record, key is childID. I have another table called Concerns that has multiple records for each child. The Concerns table structure has several Boolean fields that need to capture and retain a true value, no matter what the value is in the next record, i.e. once a field is true, it's always true. Then those values need to update the child record in the Health table. So if the Concerns table has the following records for a child: ChildID, DentalConcern, VisionConcern, H ...Show All
.NET Development Storing and Retrieving a Picture into a varbinary(max) SQL Server Column
Can anyone please point me in the direction of an article in C# that describes how to place the content of a Picture Box to a SQL Server 2005 database and in my class I am using System.Data.SqlClient. I have a custom business object class that holds the data and so the content of the picture box will have to go to the property in the class and then within that class I call a stored procedure to save the data. I am using a SqlDataReader to get the data. I have found several articles but can'f find anything that gives me quite what I want. How about the following: http://www.codeproject.com/cs/database/ImageSaveInDataBase.asp ...Show All
Visual Studio Team System Cherry Pick Merge causes conflict
I know this subject has come up a few times in the forum, and I've read the answers to those - but still not sure I'm following the answer. I am following an admittedly old webcast from TechEd 2005 by Douglas Neumann that talks about TFS Promotion Modeling, and the ability to Cherry-Pick merge a particular changeset. I'm wondering has something changed since the beta when this seemingly worked Very similar to the demo, I have the following setup: DEV branched to QA (changeset 29) DEV class1.cs QA class1.cs Make a change to class1.cs and check it in + add new property called "NewFeature" for the next release (changeset 30) Make another change to class1.cs for a bug fix and check it in + add new property called "BugFix", need this in th ...Show All
Visual Basic Thanks Jim: New Problem
I need to use the OPEN statement to open a file on another computer in my home network. Does anyone know what the File String should look like i.e. something like Open: "C:\The File" For Random as #1 Len = Len(Type) Except I need a valid path to the other computer! Thanks What version of VB are you using The Open and Close statement look like VB6 code. also you are harcoding a file handle #1 (or at least are in your code). You should get the freefile method to return the next free file handle and use this. ...Show All
Visual Studio 2008 (Pre-release) [Wish] X(a)ml editor for VS.NET
I don't know if anyone else share the same mania as me. I wish to read the xml (not only xaml) attributes in a specific order so that I can immediately understand the name, meaning, etc. For example: <Grid Name="MyGrid" Background='Acqua' Margin="0" ... /> <Rectangle Name="MyRect" Fill='' Blue' Left=.. Right=... Margin="0" /> My wish is to have the chance to specify, in a tag-by-tag basis, the ordered list of attribute names. If an attribute is not in the list, it will be appended at the end. ... and please, don't shoot me :-D Raffaele Hi Andrea, I am not trying to read programmatically. I am talking about the vs.net xml editor. When I drop a control with Cider or ...Show All
SQL Server Database Login fails
Hi I can logon to my Sql server using the SSMS management tool, I am using Windows Authentication to logon to SSMS. Create a database OK, with all the necessary tables. However when I start a VB Express app and try to connect to this database I get an error that login filed for user AMD\Larry, AMD is my PC name and my login (Larry) is the computer Administrator logon. The PC is a standalone ie not part of a domain etc. Can anyone help Regards. Larry. Are you also using integrated Authentication in VB Express. Make sure that you don’t really *type* in the user as this will be recognized as a SQL Server login. Integrated login is done in the background and don’t have be typed i ...Show All
Visual Studio Team System Rule Support links are dead
Greetings. I am using FxCop 1.35, and after the analysis has been performed, if I click on an error, then click on the Rule Support tab, and then the URL, it always takes me to a Microsoft wiki site. Here is an example: http://www.gotdotnet.com/team/fxcop/docs/rules.aspx version=1.35&url=/Design/AvoidNamespacesWithFewTypes.html Any ideas All links also appear broken to me. I know get a page explaining that the Wiki has been moved when clicking on any help link. ...Show All
Visual Basic How to use MemoryStream.Read Method
Hi, I am learning to use the MemoryStream class, and having a hard time understanding the documentation in MSDN ( http://msdn2.microsoft.com/en-us/library/system.io.memorystream.read.aspx ). I want to read the first 4 bytes of a byte array using MemoryStream, convert these 4 bytes to integer, and store them in a variable. Could someone provide a working example Thanks! Here's a working Reali life example: Using ms As New MemoryStream(Ba, False ) Using zipStream As New GZipStream(ms, _ CompressionMode.Decompress) Dim bc(3) As Byte Dim encoding As System.Text.Encoding = _ System.Text.Encoding.Unicode Try zipStream.R ...Show All
Visual Basic VS doesn't recompile..
Lately this stupid Visual studio 2005 have made this little problem. When i change my code and tries to run it, it doesn't recompile the new added code but just keeps using the old one! When i then tries to pause it when it displays a messagebox ( wich i have deleted from the code) it stop and says that there is no source code to display. I have tried the rebuild function but dont help. Also tried shutting the studio down and open it again, but that dont help either. Anybody have a solution The one thing that is really weird about this, is that any change i make in my program wont be in the debug program. Ive tried changing the backcolor, adding lots of buttons and writting strange text in the ed ...Show All
Windows Search Technologies WDS is slowing down System Performance
Hi guys I’m hoping you can help me I already posted on http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1111995&SiteID=1&mode=1 but thought that this would be the better forum to post this too. The user I am working with has WDS installed but is having quite a bit of performance issues and this is a newly bought and installed desktop. When we look at task manager it is the searchindexer.exe that is taking up all of the CPU power and disk writes. The user has Windows XP and Office 2003 I checked the client’s computer and currently he does not have any anti-virus or backup software installed but he does have running in the system tray and startup VNC server, Trillian, HotSync, Adobe Photo Downloader, ...Show All
Visual Studio Express Editions Sharing variables between forms
What is the best way to share a varaible between two different forms. One form will get the variable and the other form will use that variable. Also some code examples would be nice. here's two choices... if form 2 is a dialog of form 1 then pass the variable to form 2 in the constructor add a property to the application object (accessible via the application events button on the project tab) you can then access this property via My.Application. yourpropertyname . If you want more ideas, you'll need to be more specific as to how you want to use this variable. ...Show All
Architecture Getting neutral parameterized queries in my application framework
Ok, I've been digging around looking for a solution to this one for a couple of days now. Maybe someone in this forum has already done this. What I'm trying to do is get to a completely neutral set of SQL in a new pluggable framework I designed. The latest problem I'm dealing with is parameterized queries. It's seems like such an easy problem to solve but I can't find any good answers. Here's an example SQL Server Query: "INSERT INTO MY_TBL VALUES(@parm1, @parm2, @parm3)" Oracle Query: "INSERT INTO MY_TBL VALUES(:parm1, :parm2, :parm3)" DB2 Query: "INSERT INTO MY_TBL VALUES(@parm1, @parm2, @parm3)" Hopefully the issue is obvious, I don't want to have any differences between the queries (other than ...Show All
Windows Forms The following CTRL+keys doesn't get the correct KeyEventArgs during KeyDown events
Hi, It seems that the following key combo are not raising any key events: CTRL+L, CTRL+E, CTRL+R, CTRL+J Testing it using the following codes: public Form1() { InitializeComponent(); this .KeyDown+= new KeyEventHandler ( this .OnFormKeyDown); this .fileToolStripMenuItem.Click+= new EventHandler ( this .FileMenuClicked); } private void FileMenuClicked( object sende ...Show All
Smart Device Development Cannot connect to bluetooth gps
I have a Nokia LD-3W bluetooth GPS receiver that i cannot connect to Device Emulator on a notebook with a dell wireless 355 bluetooth 2.0+EDR (widcomm-broadcom), it fails with the error: 'Unable to open serial port 'COM12'. LastError=The system cannot find the file specified.'. I connected sucessfuly the GPS to Microsoft Autoroute 2007 and to Hyperterminal on the serial port (COM12) for the GPS receiver. I could connect to Device Emulator on a PC with a Microsoft bluetooth 2.0 dongle, serial port COM4. I have installed Microsoft Device Emulator 2.0 Preview, Virtual Machine Network Services Driver and Microsoft Windows Mobile 5.0 MSFP Emulator Images. I would appreciate any help, than ...Show All
