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

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

robben07160

Member List

CJW99
Chiarigos
Steve Wolf
Andrew Mercer
Jose J. Amador
Z.Y.S.
TommyG73
Amde
JoeWood
Bruce Bukovics
Puntor
Tom25
JeroGrav
Deepak83
cjacquel
kastanienreis
Brian Kramer
mohandasgandhi
rosakruten
Kyco
Only Title

robben07160's Q&A profile

  • Windows Forms Extended WebBrowser newwindow event problem

    Hi everybody, First i would like to thank everybody from the previous post on the new microsoft webbrowser navigating and newwindow event extension. but i seem to have encountered a snag. i have a new web browser that implements tabbed browsing and all is well until it encounters this kind of link " <a href='#' onclick=window.open...".It just behaves us if nothing has happenned. curiously if i create a new webbrowser it works fine.So anybody please help. thank you all here is the code for the newwindow handle private void wb_BeforeNewWindow( object sender, BrowserExtendedNavigatingEventArgs e) { if (( bool )tb.Tag) // code handling new tab and browser { newTabWindow( "" ); } ...Show All

  • .NET Development .NET remoting.....Multiserver........

    Can anyone help me out with this --- I've got a two server remoting app on the same machine....but i get the error Unhandled exception "Requested Service not found" Any ideas Thanks sample code from the client namespace CLIENT { public class CLIENT { public static void Main(string[] args) { TcpClientChannel chan = new TcpClientChannel(); ChannelServices.RegisterChannel(chan); //create an instance of Scan object IScanShared ScanObj = (IScanShared)Activator.GetObject(typeof(IScanShared), "tcp://10.181.54.231:5000/ScanServer"); //create an instance of TestControl object ITestControlShared TestControlObj = (ITestControlShared)Activator.GetObject( typeof(IT ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DRAW simple 3D CUBE - InvalidCallExeption

    Hi guys, I was able to succesfully complete the 3D Cube tutorial, The build was succesfull,but It throws an Exception at this line: graphics.GraphicsDevice.DrawUserPrimitives< VertexPositionColor > ( PrimitiveType .TriangleList, 12,nonIndexedCube); Does anyone have the complete code and if you guys do could you please copy and paste it.If some one from the XNA Team could please check this Exception I would realy appreciate it. Also i would love to know where to place, the folowing lines of code : VertexPositionColor[] nonIndexedCube = new VertexPositionColor[36]; Vector3 topLeftFront = new Vector3( -1.0f, 1.0f, 1.0f ); Vector3 bottomLeftFront = new Vector3( -1.0f, -1.0f, 1.0f ); Vector3 topRightFront = new Vect ...Show All

  • Visual C++ Rand Num Gen Accuracy

    So I have this random number generator I found searching through the net. I wanted an actual random number as opposed to just using rand(). Anyway I just want to know how good everyone thinks this is and how you could make one that's better. I understand the basic idea of a random number generator is to use the system clock (reason being - no two values are ever the same) and I have looked through the code but I haven't quite figured how to make a random number generator myself. This generator uses seconds and I've questioned that. Should more of the clock be used When my code executes and it takes less than a second, won't every call to the random number generator be the exact same I tried to make a card generator and when I put anothe ...Show All

  • Visual J# Embedding Java in C# Project Library

    Hi, I have a C# solution (.NET 1.1) where someone has integrated a java application source files in a library project. Just for the record this application is fop 0.20.5. Currently I need to adapt this solution to use the latest version of fop (0.92beta). When integrating the files and compliling I get many java errors in the imports. Some examples: import java.awt.geom.Point2D; import java.awt.color.ICC_ColorSpace; import java.io.FileFilter; and some others... Can someone help me out What am I missing I have in the references vjslib and also downloaded VJSSupUILib but I still get all these errrors..... Hi. Thanks for the answers... This whole thing is too new for me. Is it possible that using a ...Show All

  • SQL Server Rendering problem in PDF and TIFF

    using ssrs 2005 I have a report that looks fine in the preview and in mhtml. But in Tiff and PDF it page ejects and takes another blank page and an eject prior to printing a textbox. The textbox is as wide as the page width (I have made it narrower and played around with the height in the layout envirnoment to no avail) and the data is a varchar(8000) with about 700 characters in it in this instance. The report also takes an extra page eject at the end when in PDF or Tiff format. I have not objects in the report that are overlapping and there are no warnings. What could be causing this behavior. Regards, Gary I'm really not sure what you mean by "page eject". Do you mean ...Show All

  • SQL Server Anonymous Access from Pivot Table to OLAP 2005

    My asp-net web application connect to Analysis Services 2005 through Pivot Table client. To use anonymous access with AS2000 i used to add this property to the connection string of the pivot: "SSPI=anonymous". Which property give me the same thing with AS2005 Thanks! Hey David - good to hear from you ! Yes, you could still use SSPI=anonymous, but I really recommend in AS2005 to use standard OLEDB property for this purpose, i.e. Protection Level=none It has slightly better (more standard) behavior. Mosha ( http://www.mosha.com/msolap ) ...Show All

  • Visual Studio Team System Rolling up efforts

    The actual effort (in hrs) should be rolled up from its child and it should be non-editable textbox after it was committed. For example: I have one Feature work item with some 2 tasks linked to the same. Let’s say: Tasks Name Actual Effort (in hrs) Task 1 5 Task 2 4 So the total effort (in hrs) for the particular Feature should be 5 + 4 = 9 hrs. The same should be automatically calculated for the particular feature. Thanks for your reply. I not talking about MPP....but when user interacting with VS IDE then the rolling up of effort should happen ...Show All

  • SQL Server What is the best way to copy database?

    I want to copy database (offline) to another machine. I can generate SQL script for table structure and stored procedures. But how can I easily copy data As far as I know, 1. Detach and attach is not 100% working if I copy the another machine with different version of SQL Server 2. Restore and backup is for the same machine 3. DTS is for online copying only Please help me. Thank you. Actually, I used to do this all the time as well... until one day when I thought the job was done, but the application would not login to the database. When I went into EM it was suspect. I did everything I could think of and could not get it out of suspect mode. I finally coughed up $245 for a per incident charge and we recove ...Show All

  • .NET Development Issue in Sending mail through SMTP

    Hi All, I'm using SMTP Client to send mail message. It is not send the mail immediately after the send method is called. Mail is send only end of the application Thanks Hari public void SendMail( string mTo, string mFrom, string mSubject, string mMessage) { try { System.Net.Mail. MailMessage objEmail = new System.Net.Mail. MailMessage (mFrom, mTo, mSubject, mMessage); objEmail.Priority = System.Net.Mail. MailPriority .Normal; objEmail.IsBodyHtml = false ; System.Net.Mail. SmtpClient mClient = new System.Net.Mail. SmtpClient (smtpServer); mClient.UseDefaultCredentials = false ; mClient.DeliveryMethod = System.Net.Mail. SmtpDeliveryMethod .Network; mClient.Credentials = ...Show All

  • Smart Device Development Using FolderBroswerDialog class example in unmanaged C++ code

    Hello I would like a FolderBrowserDialog in my application which is written in unmanaged C++ using wince 5.01 Smartphone SDK. I read that it's not possible to use managed code in unmanaged C++ wince projects so I wonder how I should solve my problem. My plan was to use the example from http://msdn2.microsoft.com/en-us/library/5db6b0zy.aspx but since I'm not able to use the C++ example ( I get the /clr error because it's managed ) I don't know which way to go. Is there anyway for me to perhaps create a C# or VB project containing the example code and have that compiled into a lib that I include into my unmanaged C++ project or perhaps linking it directly somehow What other options are there for me to obtain a FolderBrowserDialog in my app ...Show All

  • .NET Development Opening file for reading and writing

    I'm building an application that logs data continuously to a file. However, periodically I want to search the log and read data from a specific point in the file, while allowing the log to be continually updated. Can I do this without closing the file How do I go about this Many thanks, Michael When you open the file for writing you should be sure to set the share access to read to allow others to open the file for reading only. To set the sharing information you'll end up needing to use FileStream which allows you to specifyi the share rights. Some other methods might let you specify the sharing flag as well but you'll have to look in MSDN for that information. Michael Taylor - 1/11/07 http:/ ...Show All

  • Windows Forms Dropping project components onto a form

    Is it possible to drop components, via the Windows Forms Designer, which are in the current project but not in the toolbox, onto a form theblueeyz wrote: The answer is no, unfortunately, because the designer needs a compiled assembly to get the component from (because if it doesn't build, for example - how can the designer run it It being compiled already lets the designer be sure it is (mostly) correct). Also, I'm not sure why you'd want to. All you need to do is build your project once and the component should appear in your toolbox. If the issue is, you need it dropped on your form before your application CAN compile.. you might have to comment out everything that uses it, compile, and then unco ...Show All

  • Visual Studio Express Editions How to generate user instances in SQL Server

    Hi, I'm a newbie in C# and SQL Server and I'm trying to add a SQL Database within Visual C# 2005 Express Edition . But I receive a message that says: "Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances." But how do I do that I have Management Studio Express installed. Best regards Got this to work with some support from MS.   Ran it as a sql query from inside SQL Mgt Studio. It needed the text string as indicated above, with ';RECONFIGURE' tagged onto the end (SQL tells you it needs that extra word if you don't include it.).  This also allowed the acceptance of the "User Instance = True" phrase i ...Show All

  • SQL Server Using RAISError

    This statement adds a new message to the master..sys.messages table EXEC sp_addmessage @msgnum = 60000, @severity = 16, @msgtext = N'The item named %s already exists in %s.' But if this error happens, how is an application supposed to access this message (The average app shouldn't need to access to the master database to get this info.) Barkingdog. YOu don’t read the message from the sysmessage, you just raise the error within your procedure logic with RAISERROR. Within the syntax of RAISERROR you can define as the last parameter the substitute Values for the string/numeric placeholders. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network