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

Software Development Network >> jwrodriguez's Q&A profile

jwrodriguez

Member List

Hiney
shekhar saran
Ben821217
AndyL
Badhris
Tom25
Takezo
Leo Diao
Sajitha Jose
ScottyWakefield
pauloschultz
MillBear
Jamie Thomson
Bern McCarty
AdeptBlue
Microsoft_hates_me
gnanas
alpefusk
Yann BOURON
Zadoras
Only Title

jwrodriguez's Q&A profile

  • Visual Basic ClickOnce question

    dear all, Any link or even a fast explanation would be very appreciated regard to “ClickOnce” stuff. Thanks in advance for your support, Ok, thanks.It's useful for me. I began to wonder myself when I saw on my vb 2005 Project in the Properties page security stuff about ClickOnce, fully trust, partial and so forth. ...Show All

  • .NET Development Connection Speed in Kbps or Mbps?

    Is there a way I could show the speed of the connection in Mbps or Kbps Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Label1.Text = ( Connection Speed ) End Sub Alex2200 wrote: Sorry didnt explain very well but the second 1 was what I was looking for thanks. Is there a way to do it in VB or convert that C# code C# to VB and vice versa online Converter: http://www.developerfusion.co.uk/utilities/convertvbtocsharp.aspx ...Show All

  • SQL Server Cannot open database "xx" requested by the login. The login failed.

    Hi, we are running a webapplication, using IIS6, Windows 2003 64 bit in classic Asp. In the asp pages we connect to our SQL server (SQL Server 2005 64bit,windows 2003 64 bit), mirrored on a third sql server (same software setup as the first sql server). The mirroring is without witness. This works perfectly but sometimes we get the following error : Description: [Microsoft][SQL Native Client][SQL Server]Cannot open database "OBJECTS" requested by the login. The login failed. In the logs of sql, we see that the offending connection does not go the principal but to the mirror. Which would cause the problem of course.. The name of the database varies, and there is no consistent error. Most of the time there are no problems (95%), ...Show All

  • Visual C++ Can i make VS play a sound when build is done?

    Is this possible i know there are post build events and such but even when i try to print an ascii bell char to make it beep, it does not work. it would just be good to know when the build is finished. Thanks - I added the VB macro as described but no sound is ever played (i did change the .wav file path of course to be correct). In fact when i put a breakpoint in the macro it never gets hit. I have never used macros in VS so maybe i am missing something obvious. I would expect the bp to be hit though when i do a rebuild, right Any reason why it wouldn't. So basically, it seems like my new macro to play the sound is not running. Thanks for any help, George ...Show All

  • Visual Basic How do I determine how much ram a program will use?

    -Visual Basic Express 2005- I'm working on a very large accounting program that requires a few hundred variables. I'm declaring most of them publicly. Is there any information that tells how much ram strings, decimals, int16 and others take Also is there a limit to how many variables I can publicly declare in a module Thanks in advance I think you'll find with many of the points raised - the differences may be small and only noticable if things are doing a large number of iterations. You say you work on a large application but there are normally things you can do that will make a huge difference that are not VB specific such as correctly indexed database, use of stored procedures instead of dynamically creating SQL statements ...Show All

  • Visual C# Referenced DLLs - How to dynamically update the path of the reference dlls in another solution?

    Hello, I am working with 2 C# solutions right now, 1 is the main application we are creating (let's call it MainSolution.sln for now), the other is a unitTest solution (UnitTest.sln) created as a separate solution file, as the main solution consists of too many projects and compiling it takes a long time. It was created separately also because different groups of developers can work on the respective solutions they are tasked to do. In the UnitTest solution, we create unit tests for the main solution classes, hence, for each project in the unitTest solution, I've added references to the respective main solution dlls. A typical full path of the Main solution's DLL is C:\MainApp\<foldername>\bin\Debug\<filename>.dll I'm cur ...Show All

  • Visual Studio Express Editions no subject

    can anyone give me an example as to how to connect and control something from a serial port.....something really simple like a light bulb..... hey maybe this..... I have a teddy bear which runs on batteries when you squeeze his foot he snores.... I would love to connect and control him by the pc any ideas...please From a software point of view the serial port is the easiest solution as there is no support for the parallel port in .NET. Besides, there is not much future in the parallel port. Most modern PC's do not have a parallel port. You cannot power anything, which requires more than a few milliamps, from the serial port, but since you have a power supply in the teddy bear this is not a problem. Follow the ...Show All

  • .NET Development XML and WebBrowser control

    Right, basically this application I am building uses a WebBrowser control to download an XML file. No problems whatsoever, it displays it beautifully. The problem I am having now is accessing the direct XML (without all the rendered IE HTML) from the web browser. Simply calling: Dim xmlstuff As String = wb1.DocumentText does not give me the pure XML, rather the rendered IE html. I am using Visual Basic 2005 Express Edition, any support would be appreciated =) Why don't you use the XmlDocument class XmlDocument doc = new XmlDocument(); doc.Load( "http://mysite.com/myfile.xml" ); Console .WriteLine(doc.OuterXml); Thanks, Anton ...Show All

  • .NET Development validate IP

    how can check if the given text was a valid IP format You could also use System.Net.IPAddress.TryParse. Here's an example: public bool IsAddressValid(string addrString) { IPAddress address; return IPAddress.TryParse(addrString, out address); } Creating the IPAddress may seem excessive if you're just doing validation, but it may perform better than using a regular expression. Your results may vary. ...Show All

  • Windows Forms how to open MdiChild from another MdiChild

    I open MdiChild_1 from the parent MainForm and I want to open MdiChild_2 from a button on the MdiChild_1 I tried this code but not working.. frmMain MainForm = new frmMain (); frmRemarks RemarksForm = new frmRemarks (); RemarksForm.MdiParent = MainForm; RemarksForm.Show(); Hi, try the following code: frmRemarks form = new frmRemarks (); form.MdiParent = this .MdiParent; form.Show(); Andrej ...Show All

  • SQL Server 2005 Slice

    Hi, We are trying to migrate AS2000 cube to AS2005 cube. We have several AS2000 cubes using partition slices (eg. Policy_Type_Id = 4) and filters (Month_end_Date_Id = 20060630). Here's the sql it generated in 2000: " FROM table1, table2, table3 WHERE (Month_End_Date_Id = 20060630) AND ("dbo"."Summary_Policy"."Policy_Type_Id"= )...................... The migration generated the filter but did not create the slice for the AS2005 cube. I have done some research and understand AS2005 cubes do not use Slice if they are MOLAP. However, the partitions show different result between AS2000 cubes and AS2005 cubes (it did not slice the partition). If I manually added it to the Slice property in AS2005, it ...Show All

  • Visual C++ MFC documentation

    I have Microsoft Visual Studio 2005 Professional installed on my machine. So far, this product has been an incredible hassle and ridiculously difficult to use. I have the task for writing a simple application for Microsoft Windows, and the MSDN library is installed, but I can't search for MFC functions at all. The MSDN library keeps trying to give me totally inpertinent results. I have used Visual Studio in the past, and the older versions were a lot better. I ONLY want to see information about MFC. Is there a way to set this Thank you. While I getting here a little late on this, I have to agree with yjacket, at least to some extent. I don't know Microsoft's official stance on MFC but they definitely do ...Show All

  • SQL Server Declare cursor based on dynamic query

    Hi, I am declaring the cursor based on a query which is generated dynamically. but it is not working Declare @tempSQL varchar(1000) --- This query will be generated based on my other conditon and will be stored in a variable set @tempsql = 'select * from orders' declare cursor test for @tempsql open test This code is not working. please suggest Nitin Instead of local cursor, you can create a Global cursor with dynamic sql, which is available beyond the scope the dynamic sql like this set @sql = 'declare test cursor global for ' + @tempsql exec sp_executesql @sql open test close test ...Show All

  • Visual Basic How to Extract Text from Text File 1 Line at a Time

    I'm making a program that will need to open a simple text file, start at line 1, extract line 1 and save it as a string, execute a block of code with that string, and then move onto the next line and do the same thing. I've looked at other topics, but I need something that doesn't just throw all of the data into a list box; it needs to temporarily save the line to a string until the next time when the string is rewritten. To make things simple, perhaps anyone who knows how to make a program that has a textbox and a button on the form can help. When the program starts, it extracts the first line in a text file on the hard drive, displays it in the textbox, and then waits for the user to press the button, at which point it starts the p ...Show All

  • Visual C# RichTextBoxScrollBars

    I have downloaded a program called "Reflector" I dont think I should explain that what program does.. because the name says it all :-) but if you want me to I will... anyways... I have a richtextbox in one of my programs (one of my old post has the codes.. but anyways) now.. I am trying to learn how to read the fields that the program has out putted for this function...... public enum RichTextBoxScrollBars { // Fields Both = 3 , ForcedBoth = 0x13 , ForcedHorizontal = 0x11 , ForcedVertical = 0x12 , Horizontal = 1 , None = 0 , Vertical = 2 } how do I apply that.. to.. txtArea = new RichTextBox(); txtArea.Size = new Size( w - 6, h - 56 ); txtArea.Anchor = ( AnchorStyles.Bottom | AnchorStyles.Top | AnchorStyles.Right | An ...Show All

©2008 Software Development Network