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

Software Development Network >> karthik asok's Q&A profile

karthik asok

Member List

anydobbo
Grant McElroy
RabinLin
cisfreak2
frozennose
streetpc
Dawchiks
Hameed_411
barkingdog
rgauba
Eric Brinkerink
MirnaHAnna
roisaonua
Patrick251
stenis
larsfp
SteeveH
AndrewVos
-D-
Koray Samsun
Only Title

karthik asok's Q&A profile

  • Windows Forms Keep control form uppermost

    I call form2 from form1. I would like form1 (control form) to always be uppermost. form2 should always appear under form1 in terms of order. Although I have set form1's toplevel = true and topmost = true, when I call form2 it still appears above form1. How can I resolve this Thanks in advance Thanks nobugz. That works almost perfect. Just 1 thing. After form2 is opened focus remains on form2. How can I return focus to the control form form1 ...Show All

  • Visual Studio Express Editions how do i compile a program using Visual C++ 2005?

    i clicked buid it succeeded then i clicked start without debug it pops out a webpage! i don't know what i should do to compile a program // Code for Project 1 // Report election results #include <iostream> using std::cout; // see p. 37 in Savitch book using std::cin; using std::endl; using std::ios; int main () { int allVoters; int forArnold; int forPhil; cout << "How many people voted in this election " ; cin >> allVoters; cout << "How many of them voted for Arnold " ; cin >> forArnold; cout << "How many of them voted for Phil " ; cin >> forPhil; ...Show All

  • Visual Studio Express Editions Sending data between forms

    Visual Basic 2005 Express: Dim f2 As Form2 = New Form2() Form2.ShowMaxOrMan() = "Max" ' Form2 gets "Max" OK f2.ShowDialog() ' But, when Form2_Load routine runs, MaxOrMan gets initialized, losing the data that Form1 sent! This may not be the best way but ..... Public Class Form1 Public str As String Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butto1.Click str = "hey" My .Forms.Form2.ShowDialog() End Sub End Class Public Class Form2 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butn1.Cli ...Show All

  • .NET Development Problem with C# using XPathNavigator

    ...or maybe I just don't know what I'm doing!  Which could be a very good possiblity. Going to explain what the app is actually doing first.  I'm saving some file paths to an xml document.  It is pretty much like a config file.  I can successfully save folder paths.  If I try to save file paths, then for some reason it just doesn't write the info to the xml document(ex: C:\Windows\NOTEPAD.exe).  First I'm converting the string to unicode, then converting to Base64String, and saving. for ( int  x = 0; x < listBox1.Items.Count; x++) { filestring = Convert .ToBase64String( UnicodeEncoding .Unicode.GetBytes(listBox1.Items[x].Text)); } xnav.SetValue(filestring); //this i ...Show All

  • Visual Basic Childform misbehaving? Ignoring location commands.

    I have used the following code to try to have to childforms appear in a parent form. However, when i run the program, the child forms do not go to the specified sizes nor locations. The only bit that assumes the control doesn't exist already is the bit where I call new on it. The code all assumes the control is not part of hte form yet, however. Naturally, you cannot cut and paste my code, it's creating an instance of a class I wrote ( that you don't have ). Substitute your own control name for the one I am creating. ...Show All

  • Visual Studio Tools for Office can I have a macro with VSTO?

    Is it possible in VSTO to have a macro with a keypress event and then have that call a function to execute code   For example, can I have a macro behind the 'w' key, and everytime it is pushed I execute code   I've been searching around online for a while but can't find anything.  I've looked at the VSTO book too and nothing is in there about it.  I found this link: http://groups.google.com/group/microsoft.public.office.developer.vba/browse_thread/thread/277183545f501d9f/d3fe55d7a78e1f62 lnk=st&q=creating+a+macro+in+vba+code+vsto&rnum=3&hl=en#d3fe55d7a78e1f62  but is there a way to do it without VBA   I'm guessing no, but just double checking. Thanks for your time! ...Show All

  • SQL Server change the background color in table in report

    I have a table that i need to display data for each row I want the background color to be diff anybody knowhow to do it color blank color blank If I need to see one yes one no like 1111 [visible] 2222 [invisible] 3333 [visible] 4444 [invisible] ...... I change the property Visibility-Initial visibility = expression = IIF(parameter="SOMETHING", FALSE,TRUE) with this I can hide the DATA but I need to hide the Field too (with border and everything), in preview it looks very good but If I deploy the report change and show the field with borders. MARCOS ...Show All

  • Visual Studio Tools for Office VSTO Outlook 2007 Form Region Question

    i have created a new Ribbon with 2 toggleButtons: buttonA and buttonB. what i want is for the page of my custom form region to swap when I click the ribbon buttons. much the same as if I were on a standard Contact item, clicking the 'General' and 'Details' buttons. so far I have created a form region with the formRegionType set to 'replaceAll'. i am uncertain of how to proceed. do i create 2 separate form regions to achieve this or do i somehow implement paging within a single form region i know that i can use the getPressed handler of my ribbon button to make a callback to fire this. but am uncertain where to go from there. thanks. Hi I have not touched on Formregions since the first CTP but ...Show All

  • .NET Development XSLT Sorting Conditionally

    Hi I have the following xml <TestRequests> <TestRequest CollectionStatus="Resulted"> <Category>Hem</Category> <Text>Complete Blood Count</Text> <SortKey>A<SortKey/> </TestRequest> <TestRequest CollectionStatus="Resulted"> <Category>CHem</Category> <Text>RBC Count</Text> <SortKey>B<SortKey/> </TestRequest> </TestRequests> I want to achieve sorting based on some conditions In my case if any of the SortKey has value then the TestRequest should be sorted on SortKey , if all the sortkey elements are blank in that casethe sorting has to on say Category element Could someone tell me how to ...Show All

  • SQL Server Accumulate values in an aditional column

    Hi I have a table like this: CLIENT Value a 12 b 11 c 8 d 5 e 4 I want to accumulate this values in an aditional column CLIENT Value ACUM a 12 12 b 11 12 + 11 = 23 c 8 23 + 8 = 31 d 5 31 + 5 = 36 e 4 36 + 4 = 40 Thks for your help Rgds Harry What would I have to do if i want to decrement this values CLIENT Value ACUM a 12 12 b 11 11-12 = -1 c 8 8-11 = -3 d 10 10-8 = 2 e 4 4 -10 = -6 Hope to recieve some news soon Rgds & a lot of thks Harry ...Show All

  • Internet Explorer Development IE7 installed, desktop icons open a box with a run command for the file

    I just installed IE7 and love the new look. However, all of my desktop icons do not run the program without first asking me if I want to run **.exe and give me a RUN radio button. They mention that the publisher is unknown and do I want to run this software. The software is from known publishers and I have multiple products from them. Is there a way to correct this I looked at the security settings and changed them, but nothing seems to work. I searched the threads, but could not find anyone with a post that was my exact issue. Thanks PDA@aacpas.com ...Show All

  • Visual Studio Team System Error VSP1386

    I have been trying to profile an application, but can not find a fix for this error that I receive at the completion. Whether I execute vsperfcmd from the command line or use the profiling tools through VS, I continue to receive: Error VSP1386 : x buffer(s) lost in association with process xxxx Very little can be found on the web period, and what I find are people like me with the problem and no answer. Can anyone here help me I created an new application, without adding any kind of code. Just a simple form, and the same behaviour is shown. The resulting vsp is always without method names, just method memory addresses. Is there a log i can retrieve that would better explain the problem ...Show All

  • Visual Studio Express Editions Are todays leading games build in VC++?

    Does anyone know if the 'big guys' use VC++ or Express to build their games If not, what do they use And why From questions and feedback I receive I know that a number of the 'big guys' use Visual C++ - but I probably shouldn't name names. I can say that a lot of XBox games are developed using a version of Visual C++. ...Show All

  • Visual Studio Team System How To Generate Sales Data

    I want to generate sales data where different product will have different price in diferrent date. Let say I have a Product table to store the MinPrice and MaxPrice of each product. How do I generate the data so that the price is in the range of MinPrice and MaxPrice for each product Thanks. Jimmy Hi Jimmy, Here is the solution that I figured out by using Data Bound Generator: 1. Assume the table definitions are like ProductTable [ MinPrice (Money), MaxPrice(Money), SaleDate (SmallDateTime) ], SalesTable [ SalePrice(Money), SaleDate(SmallDateTime)] and you are using Sql2000 (or Sql2005 if you like). 2. Add a SQL2000 Database project. 2. Import the Schema of the Database co ...Show All

  • Software Development for Windows Vista How to get an ActivityExecutionContext in a custom rule expression, that's being used by a rule condition?

    Hi there, I've written a very simple custom rule expression that returns a literal value. The value itself is stored in a WorkflowRuntimeService object. I've also written a declared rule condition that uses this expression in an IfElseBranchActivity. The problem - when my expression's 'Evaluate' method is called, the passed RuleExecution parameter doesn't have a reference to an ActivityExecutionContext object. Looking around a bit with the reflector, it seems that a RuleExecution object is created with a reference to an ActivityExecutionContext object only when created for use in a RuleSet . Meaning that, individual declared rule conditions cannot access the workflow's activity context, because the RuleExecution object that is ...Show All

©2008 Software Development Network