Software Development Network Logo
  • Windows Vista
  • Visual C++
  • Game Technologies
  • Microsoft ISV
  • Audio and Video
  • SharePoint Products
  • Visual Studio
  • Windows Forms
  • VS Team System
  • Visual C#
  • SQL Server
  • IE Development
  • Visual Basic
  • Smart Devicet
  • .NET Development

Software Development Network >> bgailer's Q&A profile

bgailer

Member List

HowardCarr
OmniTech
goku_simon
bilsa
bminard
John Oliver (UK)MSP, VSIP
Daniel Gary
MonikaB
phpcs
jackrudolf
K. Murli Krishna
Marcie103
marcoMB
Bear23
Colin Bowern
Robert-UTS
dlevers
Ceres629
Keith Henkel
Jit
Only Title

bgailer's Q&A profile

  • SQL Server Connect to SQL-Databas over TCP/IP

    Hi.. I am really new in C# Programming witf h Database. My problem is: I have a SQL Database (in an other country) and My Application has to connect it for data transfer. How can I do that Which alternatives do i have. Should I use a Web Service Thanks... Hi, You could use the following connection string; Provider = sqloledb ; Data Source = 190.190.200.100,1433 ; Network Library = DBMSSOC ; Initial Catalog = myDataBas ; User ID = myUsername ; Password = myPasswor d; Obviously you will have to change the IP address to that of the server where SQL resides... also make sure you have the correct port which is the value after the comma (,) on the IP address ...Show All

  • Software Development for Windows Vista problem with VMR9 and UAC : vista bug ?

    When vista displays an UAC window (also called ConsentUI), all other windows are feezed, including VMR7/9. I've done a quick test with graphedit (from June 2006 DirectX SDK), trying to render a sample clip. With the default renderer (VMR7), it works correctly : after I close the UAC window, the video window restart playing. With VMR9 (default mode, so windowed), after I close the UAC window, the video window doesn't refresh : the sample clip still plays, but the video is freezed until I move or resize the video window. Is it a vista bug, or do directshow players need to be updated to work with vista one thing to make sure in vista is that you run cmd.exe as Administrator and regsvr32 proppage.dll, i also ...Show All

  • .NET Development Modify System.Exception in SetILFunctionBody

    I am wondering if I can get some help on this. We have working "Proxy" that is invoked via insertion into methods and gathers all the calling arguments, etc. and passes to a handler. We are using the SetILFunctionBody during JIT compilation. It works fine for 1.1, but in 2.0 ONLY works when using LoaderOptimization other than SingleHost when hooking corlib methods such as the System.Exception .ctor. We are hooking many methods - all NON core methods work well. I have come to the conclusion that it has to do with Domain Neutrality of mscorlib (only) being in the shared domain. So, my questions are this: Other than the LoaderOptimizationAttribute OR the args to the CorRuntimeBindEx to load the CLR - how can one override the Loade ...Show All

  • Visual C++ Read a memory location

    hi, I want to read a memory location of system Actually i hav one h/w monitor ic acting as a slave to my cpu(master). this ic measures cpu temp,fan speed,voltage etc. i have an address 0x2e at which it is connected. i2c is used for communication. can anyone pls let me know how do i read the data read by this h/w monitor ic. how should i find out which memory location to read Please help. Thanks in advance, Manasi Probably 0x2e is a port, not an address. Addresses that low are reserved; I forget the details, but I think that address would be used for an interrupt vector. Let's assume however that it is an adddress; a real address, not virtual. Windows would not al ...Show All

  • Visual Studio Express Editions Problem with WebBrowser1

    Well, not so much a problem, just something I don't know how to do, if it's possible. I made, wrote, what ever ya call it, a Web browser. It works fine, but on some site when ya click a link or button it opens in a new window, thats when Internet Explorer kicks in. Is it posible to how those open in WebBrowser1 and not have Internet Explorer kick in at all also, how do I add an Add to Favourites to the Browser And if posible, How would do I add an option, if posible, to be able to set the Browser as the Default browser Am still learning program and still got a long way to go. am using visual Basic 2005 Express Edition. Thanx for ya help, very much apreciated. Chris ...Show All

  • SQL Server Matrix Totals

    Below is part of a matrix report. Sooo close, but I have two problems I have not been able to solve. Please help as a I have several similar reports to do. 1. Row totals. I have been able to get a row total by adding a row group (i.e., $849.7 in the first row). However it does not display a group total (i.e., the sum of $849.7 and $371.3 for Economic Development) for that column. I have not been able to add a static column outside of the dynamic groupings. I thought this might be a resolution by displaying the sum of the Estimated Costs in a static column and hoping it would show the group totals the same as with the dynamic column totals. Is there a way to do this 2. Sorting. The report needs to display the groups based on the de ...Show All

  • Visual C++ Displaying a QT form in a VC++ .NET application

    Being entirely new to Windows and mostly new to C++, I took the path of least resistance when starting a new project, and let Visual Studio 2005 lead me to using .NET for my development. It has been a learning experience but not too bad. Now, though, I have to use a form developed in QT by another team. I have a QT license, am using 4.1.4 with the vs add ins. The form, after much gnashing of teeth, etc., builds, and my application links, including instantiating the form, and calling the form.show() method. However, when I actually invoke it, I get a message that it is not a Qt application. So my question (applause) is, "Is there a switch or flag, or quick way I can convince Qt that my .net application is a Qt application " ...Show All

  • SQL Server Problem with package.Execute passing variables

    I am having a problem with passing variables into my SSIS package from C#. The variable names match ("Variable1, ...), however they do not seem to be assigned the proper values once the package is executed. The package does run and returns a FALURE notice saying there is a problem with my expressions. When I added a new data flow, derived all the variables into columns and wrote their values to a flat file I noticed that the values still contain my default values from the SSIS package itself as though nothing was passed in from C#. I am hoping that it is a simple configuration/user error. Any ideas ---- C# ---- Reference to Microsoft.SQLServer.ManagedDTS using Microsoft.SqlServer.Dts.Runtime; Application ...Show All

  • SQL Server ssis package

    I am pretty new with MSSQL 2005. I was curious if anybody is familiar with the SSIS package where if I had a text file and I wanted to bulk insert it into a table in the database With SQL 2K is was pretty easy but now with the Visual Studio 2005 it seems to be quiot a bit different. Thanks, Gene Not quite sure what you expect by way of an answer, yes I am familiar with such packages. To get started I'd suggest you use the Import/Export Wizard. This will build a basic package which will do the job, and you can save it for later inspection in the full SSIS designer. ...Show All

  • Visual Studio Team System Group Tasks

    hi all, is there any other way to group tasks, i mean instead of areas, iterations and related work items looking for a solution where you can see task and by expanding them where you see the subtasks. thx riv ok, thanks for reply! i will visit your blog (https://blogs.msdn.com/narend/) and have a look. best regards riv Edit: OK Naren, i found the blog, how did you call the post ...Show All

  • Visual Basic Displaying a Label that shows a PictureBox behind it

    I have a VB 6 app I'm converting to VB 2005. It displays a series of JPG files in a PictureBox, and three labels. In the old application, the letters on the labels float over the image background because the labels' BackStyle was Transparent. But in the new version the labels (with a transparent BackColor) appear in a rectangle whose color is the BackColor of the underlying form. What's the secret to making the picture-box rather than the form appear behind the label text I don't think you can make a child control appear outside the bounds of its parent. If you have SizeMode set to Normal what about making the picture box the same size as the form and make all the controls children of the picturebo ...Show All

  • Visual Basic Help on creating a strange programme that types things you dont type...

    What I need to know for my next programme is how to get it so that you have a textbox and you start typing in it, it says "hello" or whatever I want it to say no matter what the user types. Sorry its a bit difficult to explain. But say the user types "1"(could be any key they choose) in the textbox I want it to come up as "H" then the second letter they choose it would come up as "e". Private Sub TextBox1_KeyPress ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyPressEventArgs ) Handles TextBox1 . KeyPress Dim TheArray () As String = { "H" , "E" , "L" , "L" , "O" } St ...Show All

  • Windows Search Technologies Context indexing limitations

    On 3/11/06, MSN Toolbar Help online contained the following text about the limitations of WDS relative to indexing large files: Desktop Search indexes the first 1 MB of text in each document. This is enough to ensure that all but the very longest documents are completely indexed, but if you have an extremely long document and your search term appears after the first 1 MB of text, it may not be found. A Google search today still shows the same text on a page which is part of Live Search Toolbar Help: http%3A%2F%2Fsearch.sympatico.msn.ca%2Fdocs%2Ftoolbar.aspx%3Ft%3DMSNTbar_TROU_CantFindAFileIKnowExists.htm Please advise about the following points: Is the stated limit, or some other limit, about the amount of text which W ...Show All

  • SQL Server Save only the date in a datetime field

    Hello. A question please. Can I save only the date in a datetime field I don't want the hours. As previously stated the Date types in SQL will save the hours, etc. But, you can can remove them from the date so they are all teh same (as is 00:00:00.000) One method was shown above to CONVERT the date. Another is to do date math: SELECT DATEADD ( D , 0 , DATEDIFF ( D , 0 , GETDATE ())) Cheers ...Show All

  • Visual Basic Check for encrypted match.

    Have reposted as I have an idea what is wrong, below is the encryption routine that I am using, my problem is that every time text is encrypted it uses a different Key. So how do I use the same key so that when the scrambled password on file, is compared to the scrambled password entered they will match Function encryptStringToBytes_AES(ByVal plainText As String, ByVal Key() As Byte, ByVal IV() As Byte) As Byte() ' Check arguments. If Key Is Nothing OrElse Key.Length <= 0 Then Throw New ArgumentNullException("Key") End If If IV Is Nothing OrElse IV.Length <= 0 Then Throw New ArgumentNullException("Key") End If ' Declare the streams used ' to encrypt to an in memory ' ar ...Show All

©2008 Software Development Network