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

Software Development Network >> Roger Jennings's Q&A profile

Roger Jennings

Member List

rwbogosian
ellen_89
R.S.N
Peter Doss
Gurpreet Singh Sawhney
Oren Solomon
Mason Cox
ogs
Dan Crowell
prasoot
Behrooz PB
auradog
Neotech
Emadkb
My Vizai
GoDaddy
nativecpp
PublicError
mattdawg
Oscarfh
Only Title

Roger Jennings's Q&A profile

  • .NET Development MMC 3.0 Custom Snapin - How can I programmatically activate a node?

    Hello, I'm developing a snap-in for MMC 3.0. On the view for my root node I display a welcome screen (win form) with several link buttons which I would like to use to activate other nodes in the snap-in when the user clicks on them. I cannot find a way to programatically activate nodes within the snap-in in any way. I've poured through the entire Microsoft.ManagementConsole namespace. Has anyone any insight here Thanks, Tony Hi! Try this! selectionFormView (My startupForm) is set in the Initializing event of the control. foreach ( ScopeNode sn in selectionFormView.ScopeNode.Children) { if (sn.DisplayName == "System Properties" ) { selectionFormView.SelectScopeN ...Show All

  • Visual C# com object write in c# called by vb scritp language

    Hi. i have a problem. i need to call a dll write in c# and install like com component. the method is: public string[,] GetArrayValue(string _fileName, string _filePath, string[] _labesSelectes, string _tsKey) I need to call it in VB (not VB.net): Dim Labelss(3) Dim LabelsResult(3) Labelss(0) = "chooseAP" Labelss(1) = "chooseAPLower" Labelss(2) = "chooseLook" Set cmsService= CreateObject("net.xylabs.site.cmsService.host.com.cmsServiceProviderCom") error 800A0009 (indice non incluso nell'intervallo) LabelsResult=cmsService.GetArrayValue("vip1.xml","vip",Labelss(),"1001") error 800A0005 (chiamata di runtime o argomenti non validi) LabelsResult=cmsServi ...Show All

  • Visual C++ How to test gcroot for null

    I have class member in native class: gcroot< ManagedClass^ > ptr; I need to test whether this member is null: if ( ptr == nullptr ) // error C2088: '==' : illegal for struct How can i test it Found the answer here: http://forums.microsoft.com/msdn/showpost.aspx postid=22060&siteid=1 ...Show All

  • .NET Development "Could not create type..." error deploying webservice

    I know this question has been asked a billion times already because I've found several instances on the net, but none of the proposed solutions seems to solve my problem, so I'd appreciate any help. I've created a C# webservice on my local machine that runs fine. Now I'm trying to deploy it to a webserver. The server is Windows 2003 with IIS 6. I created a new virtual directory in IIS, set it to be an application, and gave it "scripts only" execute permissions. I've manually copied all the files from my local webservice directoy to the virtual directory on the server. When I try to access the page, I get the dreaded "Could not create type 'Service'" message. Here is some additional interesting information: 1. I'm ...Show All

  • Visual Studio Express Editions How Can i send text message to pager from vc++

    i would like to send text message to pager by using vc++ application. if any body knows about this please let me know. Thanks Hello Re question: How Can i send text message to pager from vc++ As stated previously, please do not cross post and please select the correct Forum/newsgroup for your questions. This is a newsgroup type question http://msdn.microsoft.com/newsgroups . OTP Thanks Damien ...Show All

  • Smart Device Development Win CE 5.0 RTC/RTS Protocol: dynamic payload type

    Hello, Has anybody an idea if the Windows CE RTC API in its RTS Protokol yet implements dynamic changes of the payload type in the RTS Protocol In other words: Does it support that the vocoder changes depending to the network conditions while a call is yet settled Thank you! This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer microsoft.public.smartphone.developer Wind ...Show All

  • Visual Basic generating textbox at runtime.....

    Hi, i need to generate some text box at runtime and also during the form load... it gets a number from previous form is got and generates that number of textboxs... i tryed this code in form load... it's not showing any exception or error.. and its also not showing the textboxes. Dim stext As Integer Dim i As Integer CustomizeForm.Show() stext = CustomizeForm.ComboBoxSText.SelectedItem For i = 0 To i = stext Dim txtName As New TextBox txtName.Name = "TextBoxST" + i.ToString Me .Controls.Add(txtName) Next thanks Jane Your problem is For i = 0 To i >= stext This should be something like For i = 0 To Ct ...Show All

  • Windows Forms Change second form's selected tabPage in tabControl

    Hello, Any advice or suggestions are appreciated! I'm trying to change the selected tabPage in a tabControl in a second form depending on an option chosen in the main form. So far, I have this in the main form (and tabControlDetail is on the frmDetail form): frmDetail myForm = new frmDetail (); myForm.SelectNextControl( TabPage ); ... I know--not much. The tabControl.tabPage property doesn't appear in anything I've tried so far. I'd like to do something like: myForm.tabControlDetail.SelectedTabPage(1) where 1 (or n) is the selected tabPage. Thanks for any advice, Tess Thanks very much! I modified your suggestion slightly to: this .tabControlDetail.SelectTab(sTab);   and it works g ...Show All

  • SQL Server Aggregate functions not allowed in the dataset filter

    Hi, I was trying to filter a dataset based on a condition like this: Fields!SalesAmt.value <= Sum(Fields!SalesAmt.Value)*0.05. This is nothing but it filters those SalesAmt that are less than 5% of the total sales amount. However SSRS doesn't allow to use aggregate functions in the dataset and data region filter. Is there another way to do this Sincerely, --Amde You're trying to hide the rows correct if so then try this =IIF( Fields!SalesAmt.value <= Sum(Fields!SalesAmt.Value)*0.05, true,false) true meaning that if it is true then hid the row. Hook this into a parameter and you have a dynamically filterable report. -Fap ...Show All

  • Visual C++ 0xc0000005 error running CLI "Hello World" program

    Recently got a copy of VS 2005 Pro and have been working through the ISO/ANSI(MFC) sections of Ivor Horton's Beginning Visual C++. Everything works great! I attempted to create the simple C++ CLR "Hello World" forms application and got 0xc0000005 which I understand means access denied. The program compiles but does not execute. I searched through the forum but did not see a solution that matched Any assistance is greatly appreciated. Thanks! Randy Hello Re: 0xc0000005 error running CLI "Hello World" program I am going to mark this thread as answered since you have not followed up with any further information on your problem - I assume you solved the problem your ...Show All

  • Windows Forms StroglyTyped dataset with changed schema

    I was fooling around with Oracle and SQL 2005 Express So that I made a converter/ replicator with strongly typed dataset (used mainly drag & drop). It fetches all new/ changed data from oracle and updates this info to SQL. All worked fine untill I tried to move this same solution to my friends environment, he had a typo on his Schema name. I couldn't fix it just by altering the connectionString in app.config. connectionString to SQL server is working fine, or that could be changed to anything I want. Should this work similar with oracle Is the something that should be changed in the code level I've fixed that by correcting the schema, but what if I couldn't do that.. Forexample I would have to move application from de ...Show All

  • Visual Studio Express Editions Please Help: code for timer events is stuttering

    I'm almost finished with my first VB program, yet I'm not too excited about it. I have a problem I can't seem to fix. My program has two timers: one has an interval of 1000 and I use it to count down seconds. The other timer has an interval of 100 and it's used in a code for a stopwatch that counts in tenths of a second. The problem is that both timers stutter, something especially obvious in the one for the stopwatch, making my program useless - if you can't trust the stopwatch, then what's the point. The timers never run simultaneously and they are in different forms. Here is the code I'm using for the stopwatch <code> Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ...Show All

  • Visual Basic Running isnumeric on array textbox (Help needed)

    hi, this is what i wrote : Private sub text1_change(index as integer) Dim A as boolean, b as boolean for index = 0 to 2 if a = true then msgbox "ok", vbok if b = true then a = true if isnumeric(text1(index).text) then b = false else : b = true End if if text1(index).text = "" then b = false End if Next index End sub My form has  3 textboxes in an array. The first box adhere to the above, i.e. when i type numbers in,it is okie, however any alphabets will result in error msg. 2nd and 3rd text boxes however displays an error msg wheneva i type anything in. Is there something wrong in what i have done thanks~!! Rather urgent Hi nobbie, The first thing ...Show All

  • Visual Studio 2008 (Pre-release) RequestContextMessageProperty class throws NullReferenceException

    The "IDisposable.Dispose()" method of the internal class RequestContextMessageProperty throws a NullReferenceException, because it does not check if the context field is null before it attempts to close it, i.e. context.Close() I came accross this bug when I used the wsProfileDualHttp Binding and executed the following code: MessageBuffer buffer = msg.CreateBufferedCopy(int.MaxValue); msg = buffer.CreateMessage(); // do stuff msg = buffer.CreateMessage(); buffer.Close(); The last line, i.e. buffer.Close(), throws the exception because it contains a RequestContextMessageProperty property that has a context field value which is null. Anybody else came accross this problem ...Show All

  • Visual Studio Team System Orphaned Subfolder causing merge problems

    Hi there, We are getting strange merging problems, and I hope someone can help me out. Background: all devs in our shop work on their own branch, and then merge stable changes to Trunk. We frequently merge out to our branch to get latest changes, resolve differences, and then merge our changes back to trunk Recently, I've been getting filename collisions on some files and folders when I merge to my branch. This issue is really hard to explain, so I will show the commands that I am using: C:\Ammado> tf merge /recursive $/Ammado/Trunk/Source/Ammado.Web.UI_BAK $/Ammado/Branches/pmcevoy/Source/Ammado.Web.UI_BAK merge, branch: $/Ammado/trunk/Source/Ammado.Web.UI_BAK/Secure;C946 -> $/Ammado/Branches/pmcevoy/Source/Ammado.Web.UI_BAK/Se ...Show All

©2008 Software Development Network