K.S.RamakrishnaPrasanna's Q&A profile
Windows Networking Development Weird one - Router Death by Vista
Here's a weird one. It seems that Vista RC2 is routinely killing my ADSL router I have a dual boot system (patched up XP Pro vs Vista RC2). Vista seems to be killing my D-Link DSL-500 like...., several times a day while Vista is running. Has anyone else noticed this I'm thinking.... some sort of weird network plug and play thing (which is disabled - by the way) RickW hi, I have the same problem. Also perfectly working on xp and router dieing in vista. I have tried to uncheck the TCP/IPv6 box in the LAN options a minute ago, seems to be working but not sure though. Happened to me on wired and wireless router, the router just resets itself leaving me w ...Show All
Microsoft ISV Community Center Forums How to show dates in forms by the order of time?
Hello, all, I have a little database which deals with patients paper work. I have two tables. One is patients' basic information like name, race, age, and so on. The other is the patient's paper work including the date when the patient finishes the paper work. So I have two forms. One if for the patients' basic information, the other form is a subform of it to show the paper work information of the patient. My question is, when I try to see one patient's all paper work, say, 2 records, they are shown by the order of number, but not time. e.g. The first record will be paper work on 10/24/2006, while the second record will be paper work on 12/6/2005. I hope the records can be shown by the order of time. I mean, when I check the s ...Show All
Visual Studio Express Editions most efficient way to turn on and off visibility for multiple usercontrols
i have multiple usercontrols. when i click a button i have a usercontrol display and hide all others. i have a button for every usercontrol which do the same thing. see sample code below. is there a better way to do this. this is a sample for just 2 usercontrols,but real program might have 20 usercontrols. currently the program seems to redraw slow. Private Sub panel1buttons_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn1.Click, Btn2.Click selectedcontrol = sender.name Me.SuspendLayout() If selectedcontrol = "Btn1" Then UserControlwindow1.Visible = True Me.ToolStripActiveControlLabel.Text = "first window " Else UserControlwindow1.Visib ...Show All
Gadgets ActiveX for Sidebar best practices
I am interested in further exploring the possibilities of using/developing an ActiveX object for use in a Sidebar gadget but havent done anything like this before. What are the best ways of proceeding with this Can i use Visual Studio 2005 to create an ActiveX object i tried using ATL project, i was able to compile it but not to register it Check and make sure you're selecting the basic ATL COM object option when setting up your project or adding an ATL object to it. The "IE" and "control test container" options you mention make me think that you instead selected an ATL UI control, which is a somewhat more complex animal that contains a number of interfaces used to interact with the UI ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Applying custom effects to an imported model
Hi everybody! I'm playing around with my shiny new Beta2, and I'm loving it. :) I've hit a bit of a stumbling block, though: I have a .x model that I've imported, which was pretty elementary.... What I've not been able to do is find the proper methodology for associating a custom, imported effect with the meshes in my model. How exactly do I do that And what if I want different material effects applied to different meshes in the model Thanks, and I appreciate the help! hello I tried again and again and ..again.... and nothing seems to work, I tried different things, different models etc... In the kobalt example, is nice but you are using you own camera class, and I think my problem is in the wol ...Show All
Audio and Video Development Bad Image Error from WMP11 ActiveX Control
When executing the play command from a WMP11 embedded control from javascript, I'm getting a Bad Image - Error for 99% of my tracks. It only works on one or two, and I can't figure out any specific reason why it would work on those only. The strange thing, is that even with this annoying error the tracks still play fine. Worth noting perhaps: i'm using nVidia nforce3 drivers, which are in alpha so probably aren't signed. I get this same problem -- "Bad Image" when opening a WMV file from the WMP OCX. I'm using the nVIDIA drivers that came on the Vista CD, and they appear to be signed (see linked image), but I still get the error. Any ideas what else this might be ...Show All
SQL Server Deploying CLR Stored Procedures to a client, is there a better way
I'm developing an application locally, and after I complete major revisitions/bugfixes, I transfer the code/database changes to the client. If I change the code for a CLR stored procedure locally, I can just deploy the project to the local database, which handles everything for me. Transferring to the client's database is more difficult, however. In order to update the CLR procedures, I need to drop my regular stored procedures, drop my functions, drop the CLR procs, and then re-add the CLR procs, functions and stored procedures to avoid errors based on dependencies. The stored procs/functions don't change, and it seems like there should be a way to just insert the new CLR stuff without dealing with the regular stored procedures or use ...Show All
Visual Studio Tools for Office AddIconSetCondition()
I am able to add icon format conditions to Excel 2007 via VSTO using AddIconSetCondition(). The problem for is changing the values. Does any have sample code in c# for modifying the values after creating this condition I can't find any documentation on this function. Hi, The following sample in VB shows how we work with conditions in Excel 2007: Sub Change_Iconset_Condition() 'Module's variables. m_wbBook = Globals.ThisAddIn.Application.ActiveWorkbook m_wsSheet = m_wbBook.Worksheets(1) 'Procedure variables. Dim p_rnData As Excel.Range = m_wsSheet.Range("B2:B10") Dim p_IconSet As Excel.IconSetCondition = p_rnData.FormatConditions.AddIconSetCondition 'Here ...Show All
Visual Basic Printing Issue
Hi, We have converted an application from vb6 to vb.net. All the issues have been addressed and we are able to print from within our application. But in the client machine, printing is not working. Development (IDE: .Net 2003, Windows xp) Client: Windows 2000. Can anyone please help. Thanks, Arun. ...Show All
Windows Forms modify code at runtime when i pause
hi, did i change some setings that i can no more pause debugging and mosify any code i know there is code segments that cannot be modified, but now i cannot modify no code at all ,even when errors are thrown , i know i could modify segments like in method calls. thanks, happy new year all. Hi, hrubesh Have a look at these acticles: Debugger Roadmap How to: Use Edit and Continue (C#) Hope it helps.Best Regards. Ye. ...Show All
SQL Server Database field length from dataset in vb.net
How to get the max length of numeric field in a DataSet I have a DataSet bound to an Access database . Is it possible to get the maximum length of numeric field of a table in the DataSet Many field s in the database tables have maximum length values set in ... ...Show All
Visual C++ __declspec(dllexport) required on function declaration in dll source code?
With the help of one of the people that posts messages on this website, I was able to get a C++ DLL to work with a VB 6.0 calling program. The function definition in the .cpp file has the __stdcall decoration on the function name, but it doesn't have the __declspec(dllexport) decoration on it. It seems to be working fine without it, but is it required for some reason If so what would that reason be Does the compiler put it in automatically when you compile it, or is it really required at all George I tried creating another dll the same way but without a def file and using the decoration in question, but when I use summer@8 in the VB declaration it won't let me enter it that way. By that I mean i ...Show All
.NET Development DefaultButton - Property of Panel
Hi, I have a panel in my aspx page for which I have set the defaultbutton property of panel to submit button. The problem I am facing is that on click of enter the page gets submitted the first time however when I press enter second time the page is not submitted. Also, this is happening at the production installation, the page works fine on the development environment. Do we need to have specific browser settings\.net settings to make this work. Also, we are using AJAX Extension for .Net version 1.0. Any suggestions will be of great help. Not sure, whether this is the right however couldn't get hold of any better place. Please let me know if this can be discussed in any other forum. TIA Ritesh ...Show All
Visual C++ Converting HEX to String ?
Hi, I have an hexadecimal value stored as an unsigned long (C++ .NET), I use the value to extract data from an XML file therefore the file contains hexadecimal values also. I use SelectNodes to extract the necessary information and therefore I need to change the Hex value to a string. However, as I convert it to a String the value changes, and as the XML file contains hexadecimal it can’t find the hex value in the XML file. My question is therefore can I convert a Hex value in .NET to a string without changing its value otherwise I can’t extract the necessary information from the file. Thanks in advance for your help! I have an he ...Show All
Visual Basic Public Array
I've read in the forms about making a public variable in a form accessible to another form in the same project, and have been able to do so with a single variable. Is there a way to share a complete array (to be specific e.g. String Array(i,j,k,) where i,j,k are all integers) in a project between forms - i.e. From Form 1 to be used in Form 2. I have coinsidered referrencing every variable in the Array by a loop subroutine, but is there a better way Thanks CRV If I understand correctly, you wish to share an array publically to other forms/classes if so then yes, its done in the same way, only difference being is the type of property, the array type name. Example: public property MyArray() as String() 'ar ...Show All
