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

Software Development Network >> R.Tutus's Q&A profile

R.Tutus

Member List

flyall
tongkusat
Ion101
djshades2004
Tb2006
just_Curious
pauloschultz
Brandon Tucker
TheQuietShadow
Matcon
CHEN YU-TIEN
JohnJDB
Gary2006
RachelCooper
rajshekar
GuyVerachtert
ZhenYuan
Rich S
kwards3
dotnetwizkid
Only Title

R.Tutus's Q&A profile

  • Visual Basic argument not specified for parameter 'eventArgs' - calling sub in another UserControl

    If a UserControl contains a Sub such as Public Sub BackOne_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles BackOne.Click and another UserControl calls the Sub above as per; MainForm.ctlPostEdit.BackOne_Click() where it is defined on the MainForm as; Public ctlPostEdit As PostEdit.PostEdit, why/how would I solve the following error Argument not specified for parameter 'eventArgs' of 'Public Sub BackOne_Click(eventSender As Object, eventArgs As System.EventArgs)' This worked just as is in the previous vb6 app. Thank you, -Greg You have to provide the arguements specified in the method signiture (in this case, a S ...Show All

  • Windows Forms OnPaint Overflow Exception

    Hi I have a form with some controls, in it, most of them are labels, and a panel for displaying video and one of label is blinking using timer. sometimes i got an Overflow exception when a program is started and sometimes when label is blinking. this exception is random and not always thrown. when exception comes, it comes with quit and continue, and have detials of the stack trace, when continued, the one control which is mentioned in the stack trace are turned to red cross. this is happening with two three controls. Where you do call this code to change the ForeColor Is it in a timer If so how did you declare your timer and (as there are a couple Timer classes, which one did you use) Michael Taylor - 6/27/06 ...Show All

  • Windows Live Developer Forums Polygon Circle outside map boundries

    I am currently implementing the ve api in such a way that we are plotting points on a map and drawing a circle (polygon) around that point on a map based on a provided radius. The point in question is in the Fiji Islands which would be on the rightmost part of the map (approx. Lat: -16.694078, Lon: 179.835205). The radius of the circle is large and there are points which lie outside the map boundaries. The circle gets plotted correctly which would be on both sides of the map. However, there are lines between the top and the bottom of each circle part and the outside of the circle is shaded in. I can't include an image in the post, so i have included a link here (yahoo for lack of a better place to put them): http://new.photos.yahoo.com/dad ...Show All

  • Windows Forms WebBrowser - tracking button clicks

    I'm using the VS 2005 control System.Windows.Forms.WebBrowser. I want to be able to track button clicks. If I've navigated from a page with multiple buttons, how can I tell which button was clicked I have this in VB, but if you're using C# I assume you can do the conversion: Events: AddHandler webBrowserBody.Document.Click, AddressOf Me .webBrowserBody_DocumentClick AddHandler webBrowserBody.Document.Focusing, AddressOf Me .webBrowserBody_DocumentFocusing Both events use HtmlElementEventArgs, so I'll just show one of my handlers: Private Sub webBrowserBody_DocumentClick( ByVal sender As Object , ByVal e As HtmlElementEventArgs) Dim el As HtmlElement ...Show All

  • Visual Studio Express Editions Write native Windows 98 Application in VB Express

    Is it possible to write an application in Visual Basic Express which runs 'natively' (i.e. without the need for .NET frameworks) on Windows 98 If so, how is this done If not, what's the best alternative for developing such an application on a Windows XP machine Thanks John Unfortunately no. Any application you write with a .NET language will require the use of the .NET Framework. The one quasi-exception to this is if you use C++ Express (or C++ from a higher version of Visual Studio) to make a native Windows application. If I may ask... why not target the framework and make sure it is installed on the 98 machine for your app to be used Just so long as you target 1.0, 1.1 or the 2.0 framework you' ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Possible bug? - Textures and Source Areas

    Hi, I've been experimenting and trying to draw a 2D texture (using a sprite batch) to the screen. Now I've specified a source rectangle for the texture - which is at (x, y) and of width & height 1x1. So essentially a single pixel from the source texture, which is RGBA (0, 0, 0, 255) i.e. solid black. When I render this and specify a destination rectangle, what's rendered seems to take into account the pixels either side of the source rectangle - which are RGBA (0, 0, 0, 0) i.e. transparent black. Now this seems to me slightly illogical or at the least counterintuitive - that pixels *outside* the source rectangle should affect what's being drawn! Well, if someone could explain this to me I'd appreciate it very much, or perhaps confir ...Show All

  • Visual C# Don;t want to show the seconds value for DateTime.Now

    Is there a property of DateTime.Now that allows me to not show the seconds of a datetime value, or must I do some Substring'in Thanks You can use the ToString method overload that accepts an format string as posted before. Here is a full list of formats supported: http://msdn2.microsoft.com/en-us/library/8kb3ddd4.aspx ...Show All

  • Smart Device Development WSAGetLasError() = 120

    Hello everyone. I'm trying make my first program using bluetooth in Visual Studio 2005 for SmartDevices. Well, I'm following the example msdn http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcecomm5/html/wce50concreatingconnectionusingwinsockextensions.asp, but when I run my application this show me a error a moment create socket, in other words, the function WSAGetLastError return a error, but the value es 120. I did reviewed, again, MSDN Library and I don't find any code error with this value. I show you a part my code: Headers: #include <windows.h> #include <winsock2.h> #include <bt_api.h> ... void CWhateverDlg::OnBnClickedButton2() { // TODO: Add your control notification handler code here WSADAT ...Show All

  • Windows Forms Runtime Loading/rendering of control takes time ?

    Hi friends ! I do have some strange problem. I am loading some my own control at run time and i do add then in Panel (FlowLayoutPanel). But when i do run my project i am able to notice rendering of those controls. I am not able to understand whether it takes time to load control (using new MyClass ) or to render them (when I am dointg " panel.Controls.Add(MyControlArray(IndexOfArray)) ") MyControls Contains Label,SplitContainer and Object of may be textBox, ComboBox etc. Some code is listed here ! Sub setProjectScreenControls() Dim index As Integer = 0 On Error Resume Next index = 0 'editScreen is my Flow layout panel If editScreen Is Nothing Or editScreen.IsDisposed Then editScreen = New FlowLayoutPanel ...Show All

  • Visual C# proper constructor chaining direction

    I was looking at some code at my work and with several overloaded constructors having the same code in each one, I thought, beautiful, perfect place to use constructor chaining. Except I'm not sure which direction is the proper way to go What I mean is, in the constructor, do you go from the general to the specific, using nulls for the missing parameters, or do you go from specific to general and then in the body of the constructor set the missing properties Where things get interesting is when you want to call the base constructor, should it go in one place If you're using constructor chaining, then you can do this, but where does it go, at the top or the bottom of the chain Here is a sample class that illustrates what I mean. ...Show All

  • Visual Studio Unbound Fields

    How do you send a value/variable in code to an unbound field I have not been able to find any code what-so-ever regarding this issue. Any help is appreciated as well as code samples to show how this process is done. Thank you Ok. Thought i would post the result i have come up with for VB programmers. Private Sub DisplayReport() Dim rpt As New CrystalReport1 Dim root As CrystalDecisions.CrystalReports.Engine.TextObject rpt.Load() root = rpt.ReportDefinition.ReportObjects("Text1") root.Text = "Italy Wins!!" CrystalReportViewer1.ReportSource = rpt End Sub The problem i was having earlier was due to the fact that i was not casting the ReportObject as a TextObject. ...Show All

  • Visual Studio Cross Tab set top N dynamically

    How do I set the value of N that appears in the Sort Top N of the Group Sort Exeprt dialog of a cross tab object using code so I can set it dynamically I can create an object reference of type CrossTab but it does not have any properties that allow me to set the value of N. Thanks, -Carl ...Show All

  • Visual C# RadioButton

    I have 2 radioButton "Woman and Man" and I want that these go to my data base... I create array string and stay: string sex = "'" + "radiobutton..text" + "'"; string [] text = new string [2]; text[0] = radioButton1.Text; text[1] = radioButton2.Text; But I when a debug my code I see a error: What the lines not is like the rows. Thank you a lot!!!! again to insert the text value into the database on each of the items chosen/stored in the array, the pseudo would be: for each item in string array generate SQL Insert command including the current item in the string array (value) to give as the value ExecuteNonQuery() next so... //create ...Show All

  • .NET Development Remoting event.

    i have made a remote app. server generate event on client side. it's working well. Now i have redesign remote server under the window service. problem is that it's not generate event at client side by the server. without window service it's running well. we can generate event under the window service . Thanx RomanGuzi, You r right but problem is that ..... Find() method not directly find the result. It's also wait an event from the other server. After generate the event by the other then it's generate event for remote client. Plz Help. ...Show All

  • .NET Development Ultra-fast deserialization/serialization

    Hi, I'm wondering if there is a way to speed this up: I have objects that implement the following methods: public void Serialize(System.IO.BinaryWriter writer) { writer.Write(this.price); writer.Write(this.size); writer.Write(this.dateTime.Ticks); } public MyObject Deserialize(System.IO.BinaryReader reader) { return new MyObject(reader.ReadDouble(), reader.ReadInt32(), new DateTime(reader.ReadInt64())); } That's what I use for serialization & deserialization. Currently I manage to write 10,000,000 objects in 5.5 seconds, however my Raid 0 drives can write up to 140MB/s, so I think there should be some upside left (10mio objects result in 195MB file). I guess the problem is that the .Write ...Show All

©2008 Software Development Network