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

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

RonanK

Member List

Fatming
SLang
Mark Sargent
Randy Nnixon
PaulDotNet
Chehmer
Chewy!
Martin00
raghu_grdr
viveque
Claudiu Chiorean
Shibu Bhattarai
caution812
JP2006
Jaga
buckenn
BenMo
Tommi Pitkälä
REspawn
lustigorMolch
Only Title

RonanK's Q&A profile

  • Windows Forms axWebBrowser and NewWindow2

    Hi, I can't figure out this: How do I cancel NewWindow2 and cause Navigation to occur in the current Window I know that I shall use e.cancel = true to cancel the new page but how do I get the Url so that I can use it in the current window So far I have been using this code: Form1 frmWB = new Form1(); frmWB.axWebBrowser1.RegisterAsBrowser = true; e.ppDisp = frmWB.axWebBrowser1.Application; frmWB.Visible = true; but now I just want everything to be in one window. Thanks in advance /Blinklys I figured it out myself I should use NewWindow3 instead and navigate the URL to the current window Over and out /Blinklys ...Show All

  • Windows Forms Setting Focus on row/column

    First of all, I am using VS 2003.  I am validating column values in a datagrid in the following fashion. If I find an error, I want to set the focus on the row/column of that value.  I am having trouble with this.  Any suggestions   foreach (DataRow currentRow in insertedTable.Rows) { foreach (DataColumn currentColumns in insertedTable.Columns) { string columnName = currentColumns.ColumnName; object columnValue = currentRow[currentColumns]; switch (columnName) {        case "CLIENT_CD":             if (currentRow[currentColumns] == DBNull.Value)       ...Show All

  • SQL Server ActiveX to define presidence

    I have a DTS package (SQL2000) which uses ActiveX scripts to check for records with certain criteria in a table. If the certain criteria is met, I want to initiate a child package that preforms a data-extraction. Otherwise move onto the next step which check for a different set of criteria. Currently if the criteria is met, I flag the task as success to dictate moving to one set of steps, otherwise failure & moving onto the next check. The problem I am realizing, is that if I 'Fail' on of the check steps, subsequent steps furthur down the route that I am directing it to go, do not run. These are other ActiveX tasks that send email, and do furthur analysis. Why is this the case Can't you perform a logical check, and based upon th ...Show All

  • .NET Development FTP ?

    Does C# have FTP Methods that are easy to use I will be starting on a project soon and have the choice of using VB, C#, or Java. I think the FTP issue will be my biggest hurdle and I want to make it as easy as possible from the start. Any hint, ideas, tutorials I could be pointed too would be great. Post any issues I might encounter if you have experience in working with theses methods. Thanks! http://www.codeproject.com/vb/net/FtpClient.asp Regards. ...Show All

  • .NET Development sorting sortedlist by value?

    i'm sure some of you have run into a situation where it makes sense to sort the elements of a sorted list by value rather than the key itself. Does anyone have any ideas on how this can be achieved. Simple swapping of key/values won't work in my situation. eg. srtList as new SortedList srtList.Add("AZ","Arizona") srtList.Add("NY","NewYork") srtList.Add("MO","Missouri") after sorting I want: AZ - Arizona MO - Missouri NY - NewYork Thanks, -PaTwo Is that strictly true I will give you a working example in something I am doing right now: Suppose you do not know what keys you are going to receive, and that you are seeking through a document and ...Show All

  • .NET Development Can't find assembly??

    Hi, in my solution there is a C# and a C++/CIL-project, where the C++/CIL-project is a class library and the other one is the application that uses it. When compiling and running the application in the IDE everything works fine. But as soon as I run the app on another system I get an error message "File or Assembly not found: classlibname". Copying my file classlibname.dll to sysroot, system32 and system couldn't solve the problem. What should I do when I don't want to add the assembly to the GAC Thanks in advance! if it is a shared assembly in your development machine (installed in gac), you have to install it in the gac for your production machine. if it is not stronglynamed, it should be on t ...Show All

  • .NET Development streamreader+inserting/updating the rows in SQL data table

    Hello everyone, my problem is with streamreader I want to read a csv file and update some of the fields in my data table.My code is below: Dim sqlconnection1 As SqlConnection = New SqlConnection( "data source=.\SQLEXPRESS;database=RFID;User ID=catalay;Password=123123" ) Dim cmd1 As SqlCommand Dim sr1 As New System.IO.StreamReader( "c:\can.txt" ) Dim strInput() As String Do While sr1.Peek <> -1 strInput = sr1.ReadLine.Split( Char .Parse( "," )) cmd1 = New SqlCommand( "update test1 set material_number = " & strInput(0) & ", description = '" & strInput(1) & "', PSP='" & strInput(2) & "' " , sqlconnection1) sqlconnection1.Open() cmd1.E ...Show All

  • Visual Studio Is there a Stop Rendering Button?

    I was wondering if there is a 'stop rendering' button on the Reportviewer control. My users reports are heavy and sometimes they just want to cancel the processing and move on. How can i accomplish this I am using the Web Rpeort Control button on an ASP.NET page. Thanks! You can use the stop button in the web browser for this. The webcontrol will periodically check to make sure the client is still connected and if not, will abort report processing. There will be some delay between the time you click stop and the time processing is shut down, but it should happen within a minute or so. ...Show All

  • SQL Server sql server SSL provider error

    Hi, I just started receving the error message The server was unable to load the SSL provider library needed to log in; the connection has been closed. SSL is used to encrypt either the login sequence or all communications, depanding on how the administrator has configured the server. see error message 0x2746. I read on therad that applying more memory will resolve the issue also someone talked about applying service pack 2. i am only getting thie error and i found that it could be locks, reindex on server from other sources but can you please suggest why this is happening i would really appreciate your help I would suggest to determine the performance issue by looking at few PERFMON counters for Disk and memory, then ...Show All

  • Gadgets Problems with two transparent background-images

    I am currently trying to get a new gadget working but there is still one problem left. In my gadget I am using a transparent png-file as the gadget's background. In the content area I placed a <div> also using a png-file with transparency. In those parts of the gadget where the two transparent areas are overlapping, I get a pink border. Is there any solution for this issue Thanks for your help! Not sure if this will help you but I have been reworking a Digital Clock and I wanted some of the themes for it to be transparent, layering the images into one g:background canvas worked but then the numbers needed to update and after a bit of looking I came upon g:background.removeObjects(); Code ...Show All

  • Visual Studio Express Editions Cant build dll

    Dear All, I have just started working on a dll which works as a plug in an open source GIS tool, i.e. MapWindow,. After I made my desired changes, I specified a build output path in compile property and I set mapwindow address to be started as an external program in debug option but my dll file never has been built. when I started building after a few seconds a message is shown which said:" 1 succeeded or up-to-date, 0 failed, 0 skipped". could you please help me what I should do Many Thanks, Razzel Hi, Try pressing F5 to build then start debugging. If your just pressing F6 (build) the project is just being compiled into a dll and doesn't get debugged. cheers, Paul June A. Domag ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Looking for an example using a 2D back buffer

    Does anyone know of an example that shows how to use a back buffer and flipping a 2D app Yeah, but just a simple example showing how to set it up. Do you use SetRenderTarget, keep a reference to it and then call present I see the backbuffer property in the PresentationParameters, but no BackBuffer property. Is there any tutorials or code to look at to see how its done Nick ...Show All

  • SQL Server Apply permissions to user, role or group?

    Hi guys, I'd appreciate your thoughts on this. Not done too much DB admin. Usually I do development work and the admins to the admin. The database is behind an API of stored procedures to manipulate the data, and views to select the data. The database needs to be accessed remotely by multiple clients. How best to keep the database secure Create a new user and login on the database which is made known to all client applications. Then grant execute permission on the stored procs and grant select on the views There is probably a better way than one login for all Should I be looking at roles and groups etc If so, how best to set that up A few pointers would be gratefully received! What are you trying to protect and f ...Show All

  • Windows Live Developer Forums Driving Directions

    I have a code and I want to ablitity for the user to enter the address. I have the code set now so when you hit Find it kinda works, but I have in the area for address txtStart and txtFinish and they are trying to find locations for those, is there a way to edit that code and make it so it reads what is in those text boxes Here is the code <body> <html> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src=" http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script > <script> var map = null; function GetMap() { map = new VEMap('myMap'); map.LoadMap(); } function FindLoc() { map = n ...Show All

  • Visual Studio Express Editions Window design questions

    hey all, I'm extremely new to programming and i had a few questions. I just finished designing the window for my app, and after looking at the code, i saw it has a line containing "TODO: Add the constructor code here", and i was wondering exactly what i needed to add in that line. Aside from that, my app consists in a few textboxes that contain numerical values and execute a formula. I already declared the variables, but i needed to know how can i set the variables' values equal to the input from the textboxes (As of now, i have set them as "Variable = textBox.text"). I also wanted to know how can i impose a Button being pressed, or a checkbox being checked as conditions for something else to happen. (IE: i want that af ...Show All

©2008 Software Development Network