jamesIEDOTNET's Q&A profile
Visual Studio 2008 (Pre-release) WCF and message "End of Stream encountered before parsing was completed."
I've set up communication for WCF. I used these configuration parts. Server: (read from the stream) <wsHttpBinding> <binding name="BindingThing" messageEncoding="Mtom" maxReceivedMessageSize="33554432" /> </wsHttpBinding> Client: (sends to the stream) <wsHttpBinding> <binding name="WSHttpBinding" messageEncoding="Mtom" maxReceivedMessageSize="33554432" > <reliableSession ordered="true" inactivityTimeout="00:10:00" /> <security mode="Message"> <message clientCredentialType="Windows& ...Show All
Visual Studio Express Editions Move exe to another PC.
Hi everybody. I am new at this so I’m sorry if this thread is misplaced. I'm using VB C++ 2005 Express I got a problem moving my exe file to another computer, and I wonder if anybody else has had the same problem. When I move the file and execute it, Window come up whit an error messaged. I have installed VB Run-Time and updated .NET framework one the computer but I can’t get it to work. I hope someone can help. Hi again I’m not really sure what you mean with SDK. I’m quit new at this, but my program is very simple. It consists of a Form and a button that terminate the application. So I haven’t included anything. It’s ju ...Show All
Windows Forms jpeg support of 12 and 16 bit images
The jpeg codec in .Net 2.0 and 3.0 appears to only support baseline encoding. I've a requirement for extended (12 bit) and lossless (16 bit) encode/decode. Can anyone shed any light on what I am doing wrong or if I have it correct, point me to a library Thanks...Chuck Medical imaging Check out Lead Tools ... ...Show All
.NET Development How to match regular expression
Hi all, I am new in using regular expression. Let's say if I have a string as follow "A12345.BC" how can I use a regular expression to match it as "CDDDDD.CC" where C is character and D is digit. How can I do a check in C# Thanks Look into the character classes that define a pattern. This can be done in two ways, the first is not what you want but works (\w*\.\w{2}) which says match any alpanumeric (\w) til a period (\.) and then any other alpha numeric for only two items. The \w{2} could have been \w\w instead, but shown for example. But to do it as you specified use \d for digit numbers [0-9] and \D for non digit such as (\D\d*\.\D\D) Its important to pla ...Show All
Visual C++ CreateWindowEx
CreateWindowEx(NULL, "WindowClass", "Sternenfeld", WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_POPUP, 100, 100, SCREEN_X_SIZE, SCREEN_Y_SIZE, NULL, NULL, hInstance, NULL); Fails with code 0xc0000005 at runtime hInstance is a Var of Type HINSTANCE SCREEN_X_SIZE, SCREEN_Y_SIZE are int - MAKROS VC6 compile works without errors but VC Express 2005 doesn't no MFC or similar is used. Anything to try edit: I can post the disassemblcode if this helps I'll post the relevant code perhapes you can find the problem WNDCLASSEX wndClass = { sizeof(WNDCLASSEX), CS_DBLCLKS | CS_OWNDC | CS_HREDRAW | CS_VREDRAW, ...Show All
Visual Studio Tools for Office VSTO 2005 SE Problems...!!!
Hi everyone! I installed recently the VSTO 2005 SE in my computer. Also I have installed VS2005 Professional. My question is: Why I don’t have the office projects' 'Word Document', 'Excel Document' an so on installed on the Visual Studio 2005 Instead, I have only the adds-in of this ones. Can Anyone tell me wich installer(s) I have to download in order to get this kind of projects (I mean 'Word Document', 'Excel Document') Thanks for any answer. VS2005 professional does not have support for Office document level customization development. You will need VSTO 2005 (Visual Studio Tools for Office 2003) or VSTS sku. VSTO 2005 SE installed on top of VSTO or VS2005 professional give you additional ability to develop Excel/Word ...Show All
Software Development for Windows Vista pause on Fields
can i pause my graph both on any field that i want in a interlaced video thanks michel, i was trying to run away from the inevitable, i will write a filter ...Show All
Visual C# Windows Service and CanShutdown CanStop
I hope this is a quick easy question. In the properties of a windows service I have seen properties of CanShutdown and CanStop. I know what CanStop does but, what does CanShutdown do and, how is it different from CanStop Thanks, Quilnux ...Show All
SQL Server SQL 2005 Express New Login
Hello all Im new to SQL 2005 express so please bare with me, I have set up wireless peer to peer network and I am trying to access an express database from one machine to another. I can transfer files no problem. When I try to create a new login, I am forced to only select logins local to the machine with the database. When I try and create a new login by typing <machinename><windows account > of the second PC, SQL can not see it. I have tried both Windows authentication and mixed mode... no success. Any ideas Thanks Geeee wrote: I removed the login and started again ..... this time I am getting 1 So it seems something was wonky about the database user. Is ...Show All
Windows Forms Cannot get changes from DataGridView
I am having problems getting the changes from a datagridview. The grid is bound to a dataset. Here are the steps I'm taking: 1. Type text into the first cell 2. Click the save button on the form, which calls: Private Sub SaveChanges() Dim dsChanges As DataSet = dsFlightInfo.GetChanges() ' make sure their are changes to commit. If dsChanges IsNot Nothing Then ' save changes to the database Dim odb As New ABMS.Data.DataSetIO odb.Update(dsChanges, "FlightSchedDetail") odb = Nothing End If dsFlightInfo.AcceptChanges() ' reset the save buttons btnSave.Enabled = False btnCancel.Enabled = False End Sub PROBLEM: dsC ...Show All
Visual Basic VB2005EE PRINTING LANDSCAPE
I dont mind printing one page at a time; but how do u print landscape. The provided tools dont work: PrintDoc.PrinterSettings.DefaultPageSettings.Landscape = True Could someone help Regards, Ehmer Ehmer, 'When you click the Print button, the propgram makes a new PrintDocument object and calls its Print method. Private WithEvents m_PrintDocument As PrintDocument Private m_NextPage As Integer Private Sub btnPrint_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles btnPrint.Click ' Start with page 1. m_NextPage = 1 ' Make a PrintDocument and print. m_PrintDocument = New PrintDocument m_PrintDocument. ...Show All
Smart Device Development How to Load Form in PocketPC Application?
Hello Experts, How can I traverse from one form to another in a PocketPC application, showing/loading the corresponding form on the screen and yet just have one single instance of application in the Running Applications List NB: I am using Visual Studio 2005 to build the application on Framework Version v1.0 using C# Please help as soon as possible. Thanx, Suman Hi Suman, The way i use and works correctly to do this is by loading the new form, and hiding the previous one, don't close it. Like in this code: new Form2() . Show() ; this . Hide() ; this will make only one instance of the application running in the Running Applications List in Memory. Regards, if this post was helpful, please Select "Yes". Ahmed H. Wa ...Show All
Visual Studio Express Editions Stopping Excel.exe after exporting to Excel from VB2005 Express
Hi, I have been poking around in VB Express a lot lately. For a tool I'm creating I need to export data to a tab delimited text file (i use excel for this) and I need to log info to an excel file. The exporting thing is working very well, however, there's no way I can get the excel.exe process to stop correctly. I've been lurking the internet trying to find a solution and came to the conclusion that this is a well know issue. But that doesn't solve my problem.. Below is my current, not-stopping-excel-proces-afterwards-code.. I've also found some other ways that first identify all active excel processes, tag 'em, do an export to excel, and kill only the instance of excel initiated by the VB2005 app.. However, this results in some ' ...Show All
SQL Server Dynamic Security Stored Procedure Repeatedly Called
I have implemented an SSAS stored procedure for dynamic security and I call this stored procedure to obtain the allowed set filter. To my supprise, the stored procedure is being called repeatedly many times (more than 10) upon establishing the user session. Why is this happening Thank you. But this will result in a very large fact table which will hold the allowed members for each user, corrrect So, if I have 100 users and each user is allowed to see 100,000 members on average, the table will have 10,000,000 rows. I wonder how both approaches compare from a performance standpoint. Do you have any performance test results to share ...Show All
Visual Studio 2008 (Pre-release) MediaElement and Media Player
Does MediaElement work with Media Player 11 (Beta) If not, does anyone know how to install Media Player 10 after having 11 installed I uninstalled 11 but get an error message, when trying to install 10, that there is a newer version installed! Thanks John I have rolled back to WMP9 (using instructions on WMP site) and then installed WMP10. MediaElement works now. I am using the June CTP of WPF (.NET 3.0) John ...Show All
