Mykhaylo Blishch's Q&A profile
Smart Device Development Symbols not loading
I had this issue before and had to wipe the machine clean just for this but then found out that it was the project that was corrupted! Having installed .NET CF 2.0 SP1, I am now seeing the issue again where if I try to run the project, it again says that the operation could not be completed as the device is not connected (but it is) So I have to click on the "Connect to Device" button...and then it works. So after doing this, I run the project, it deploys however any breakpoints on put on anywhere in the code, it doesnt show up and says that the symbols were not loaded. It works fine with .NET CF 2.0 Any ideas what I should do I dont want to format the system just for this and that is overkill! Thanks ...Show All
.NET Development Who is using the webservice with certificates?
Hello, I'm working on a project with client authenticate through 509 certificates. But I would like to know on runtime the user that is using the service. I've gone through all the documentation but I haven't been able to find anything. Because the reply of the service is different dependding on the user. Does anybody have any idea how to do it Thank you! The code in the article below will show you how to accomplish it http://msdn2.microsoft.com/en-us/library/ms996950.aspx ...Show All
Visual Basic Groupbox Question
On my mainform I have 9 groupboxes(size to about 1/2 of the screen, each box contains 2 - 8 comboboxes) They are not visible until they are called upon by a command button To keep from clutering up my mainform(I know in the app no one will see them, but I cant see my form) - if they are slide over to the side(showing the mainform only)and as long as I position them by code is this fine I didnt know if the form would think its wider that I actually want to show. Just curious! David Learning ...Show All
Visual Basic Windows Form Position on Dual monitor
Hi There Im gonna need some help. I need for my application to remember the location of my main form on dual monitor but Im having some dificulties managing this on a dual monitor setup. I can easelly save and load location using My.Settings so thats not a problem. The problem is when I have to calculate the working area when using 2 monitors. On 1600x1200 if the taskbar is streached a Screen.GetWorkingArea(New Point(0, 0)) will return 3200x1200 which is expected but when not streaching the taskbar Screen.GetWorkingArea(New Point(0, 0)) returns 1600x1200 in effect if I close my app on monitor 2 my code will move it it the edge of screen one. How do you guy crack this problem handling form position on multi monitor systems I ...Show All
.NET Development XML Searlization of a text file
I have a text file that I wanted to convert to XML based on a class that I create. It contains 21 string fields, all of various lenghts. Do I need to overwrite the Read and Write methods of the serializer interface, or is there a way to specify the lenght of the fields without having to do that Actually, the text documents contain 2 different field types, header and details. The header has 21 string fields, the details contains 14 fields. What I was thinking about doing was reading the files, using a stream reader object, then pass the line that is read to either a xmlserializer for headers or details, based on the line count. I have the line couter and the stream reader working, just needing the parser put together. Thanks in adva ...Show All
Visual Basic richtextbox and msword
have u ever observed that if u copy any thing from brouser and paste it into the msword document and paste it into a richtextbox control u will find some difference in pasted info if the clipboard contains image the image will get pasted in the msword but in richtextbox control only the link will get pasted my requirement is to if u paste the same in the richtextbox control it should appear like the same if pasted in the msword can any one help me please this code is help full to save the web page in ur system and keep the picture in the rich text box control Assume RT1 is my richtext box. You'd have to download the file from the link to a temp dir. From there load the image into a control, ...Show All
Visual C++ Controls of my dlg do not have XP style.
Hi all, Its dialog based MFC application. My problem is, controls in my dialog do not have XP style. But in VC++ IDE's design mode, all buttons, edit boxes have XP style. I hope you understood what I asked, otherwise send me your mail-id I can send dialog's appearance in BMP image format. Thanks. :) Purusothaman A Thank you all. But this works only with unicode support. In non-unicode, dialog loses its XP style. Why so :) Purusothaman A ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Playing In Traffic game sample
Here is a simple game called "Playing In Traffic", based on an episode of an animation series (which you can see here ) . It was our first xna game (with lots of orphaned experiments and general ugliness), but the source is included anyway for anyone who may find it useful. We will be adding more to the entry page as time goes on, as well as updates to an swf to xna converter in progress now. You can download the game and source here . 2007 should be a great year for the Xbox and consequently XNA, very much looking forward to it. Hope it is a good one for you as well! Cheers, Robin I'm pretty sure that there's a max number of keys that can be detected in one pass. I was trying something similar, except i mo ...Show All
Visual C# Tracer with System.Runtime
I must create one class for monitorate the called method using System.Runtime libraries. Someone can help me ...Show All
Visual Studio 2008 (Pre-release) Exception in MeasureCore
I'm simply trying to set the Button.Content property to the value of a string, like myimage.jpg. The Measure method on the FrameworkElement seems to be failing with: "Overflow or underflow in the arithmetic operation." Is this a bug or what's the issue here See exception stack below. Thanks! "at System.Double.Equals(Object obj) at System.Object.Equals(Object objA, Object objB) at System.Windows.DependencyObject.Equals(DependencyProperty dp, Object value1, Object value2) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEn ...Show All
Visual Basic Downgrade Confusion
The website (http://msdn.microsoft.com/vbasic/previous/downgrade.aspx) used to say "If you require a previous version of Visual Basic, you may purchase Visual Basic .NET and then downgrade to a prior version." We did this, and I still have the printout from earlier this year. Now the same website says, "If you require a previous version of Visual Basic, you may purchase Visual Studio 2005 Professional and then downgrade to a prior version." Are we still legal to use the Visual Basic .NET to downgrade, or do we now have to purchase Visual Studio 2005 I understand Visual Studio 2005 is now the latest and Visual Basic .NET is now old. But they are not clear on what is legal and by ...Show All
Visual Basic Single APP Instance VB.NET 2005
Hi I need to make my App a single instance, and pass arguments I have a Main Module : Public Sub Main( ByVal sArgs() As String ) How can I use sARgs with ONLY one App instance i.e., I want to pass Arguments to the running instance I use VS.2005..Visual Basic Thanks in advance You could always enable the Application Framework, which has this feature built-in to allow you to create a single instance application. ...Show All
SQL Server Failed install of December CTP reporting services add-in for WSS
Upgraded SQL 2005 to Dec CTP sp2. Had previously run Nov CTP and installed the Sharepoint add-in. Had that all working. Now trying to add the Dec CTP sharepoint add-in. But it won't complete. Keeps rolling back and then ending with dialog '.... setup was interrupted' Anyone else seeing problems with this Dec CTP install Great! The forms server failed uninstall completely removed the sharepoint sites. I'd like to know how to recover the site now. I'm about ready to toss the December sp2 CTP out the window. ...Show All
Windows Forms DataGridView in UserControl: Color Problem
I have a datagridview in a UserControl and another one not in a UserControl. What I need to do is to set the cells' background colors based on the grid values. It works fine with the dgv that is not in the usercontrol but it doesn't work when it is in the usercontrol. I fill both datagridviews via their DataSource with a DataSet. For the one in the usercontrol, if I simply add rows without binding the columns or if I do it on the cellclick event, I can set the colors so, the problem is not that it's not possible, it is that I don't know where to put the color setting when the grid is in a UserControl! It doesn't work when I put it in the load event. I tried putting it outside the usercontrol, in the activated section of the ...Show All
Visual Studio Tools for Office publish methd -->The customization does not have the required permissions to execute.
hi every one, I'm trying to run the benefits registeration example on my machine but I keep getting this error when I try to open the *.doc from IE The customization does not have the required permissions to execute. I tried to republish the BenefitForm incase it was using Absolute Paths. but that did not change anything. I tried uploading a new *.doc but also got the same error Using .Net Framework 2 configuration tool , I gave Full trust to the path \BenifitsRegisteration\CS\BenefitsPortal\Forms\* under user,machine and enterprise but still got the error. From the file system, Double clicking on BenefitForm.Doc at \BenifitsRegisteration\CS\BenefitsPortal\Forms works fine but double clicking on Fit ...Show All
