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

Software Development Network >> Ruben T's Q&A profile

Ruben T

Member List

alittlecode
wgundaker
Hakan Gümüş
Matt Grove
holysmokes99
nagajim
Todd Biggs - Windows Live
GN
ArielNY
kyle4832
SoulSolutions
Sidds
Jason Wilborn
VonRath
Ethan Hunt
Luis Simões
WilsonY
yadgor2000
tom jonson
AnnyJacky
Only Title

Ruben T's Q&A profile

  • Visual Studio Building a web form programmatically

    I am fairly new to the extensibility realm. I think it is a great tool but I have run into some issues. I am working on an add-in that will generate a basic application based on a database. Currently, the tool has no problem generating the necessary classes and thanks to some of the posts on this forum I have figured out how to add the code to App_Code folder correctly. The problem that I am trying to solve is to create the web form programmatically and then populate it with controls. I can dynamically generate the web form but I can not figure out how to add controls to the page. I would like to have the application write much of the codebehind logic to tie to the classes that the system generates also but until I can figure out the ...Show All

  • Visual Studio 2008 (Pre-release) New to WCF and problem to connect to a WCF Service in IIS outside local network

    Hi all! I'm new to WCF and have a problem. I have created a simple "HelloWorld" Service that is hosted on a IIS 6.0 (on Windows 2003). The local computername of the server is "srv.andreasdrake.local" but to access it outside (from internet) I have the domain http://andreasdrake.se The problem I have is that when I try and access the service outside the local network it tries to connect to http://srv.andreasdrake.local:8080/WCFHelloWorldService/Service.svc instead of http://andreasdrake.se:8080/WCFHelloWorldService/Service.svc you can see it for your self it you go to http://andreasdrake.se:8080/WCFHelloWorldService/Service.svc How do I fix this Is it something I change in the web.config file or is i ...Show All

  • Visual Studio Team System Import change history into TFS

    For the migration to TFS we have exported all defects from our current defect tracking system and want to import this in TFS. This export also contains all change history for each defect (date changed, changed by, field change values). Is is possible to import all this information into to TFS, so we could still query for the change history of fields of these imported items Thanks. You cannot preserve field values like 'changed date' because of rule restrictions in work item type xml. If you are creating a project and importing bunch of items, you could initially have a relaxed rules in xml to import the data you need and then tighten it, but not bypass rules while importing these information. ...Show All

  • SQL Server EXECUTE AS Permissions ???

    HI There I need a little help. I have created a stored procedure that executes when a service broker message is received, this sp then exec's sp_send_dbmail. But i keep getting the error that execute permission is denied on sp_send_dbmail. Fair enough but i have no idea who to grant the execute permissions to The sp is called by the endpoint service of the service broker queue, the sp is owned by dbo who is 'sa', i have tried altering the sp to execute as 'dbo' or as caller, but is still get the same error. I have tried to exec sp_send_dbmail as 'sa' and it works. I do not know under what user this sp executes when the service calls the sp, i also cannot get it to work with an execute as dbo statement even though dbo is ' ...Show All

  • Windows Forms Disposing a form which has user control?

    Hi,,, I have created a windows application using c#. I have included a user control, which has tree view. I have included this user control in all forms. My issue is : As the tree view is in all forms, when i try to show a second form, the first form is also visible, moreover the second form appears below the first form. I tried to dispose the first form,when the second form loads, but its disposing only the user control and not the first form. Please help me in disposing the first form, and making only one form active and visible at one point of time. The first form should not be running at the backend. It should be disposed. Please help Form1 frm1 = new Form1() Form2 frm2 = new F ...Show All

  • Visual Basic Reading/Writing INI Files

    I Add this code in a Module And i wrote this file that i called "Italian.lng": [DATA] Field1 = Speaker <DllImport("kernel32.dll", SetLastError:=True)> _ Public Function WritePrivateProfileString _ (ByVal lpApplicationName As String, _ ByVal lpKeyName As String, _ ByVal lpString As String, _ ByVal lpFileName As String) _ As Integer End Function <DllImport("kernel32.dll", SetLastError:=True)> _ Public Function GetPrivateProfileString( _ ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As StringBuilder, _ ByVal nSize As Integer, _ ByVal ...Show All

  • Windows Forms Can I set specified folder when I open saveas dialog in WebBrowser control using "ShowSaveAsDialog"?

    I'm using VB.NET 2005. And it's winform. I'm considering that an Excel file be opened in WebBrowser control and saveas to the network folder. But, there is no way to set specified folder when I using "WebBrowser.ShowSaveAsDialog()" method. So, end-user have to remember the network folder they should save the excel file. Is there any way Thank you in advance. Maybe I'm wrong, but as far as I can get, there is no documented way to specify a folder for ShowSaveAsDialog function of WebBrowser control. Perhaps you may try something else, like using SaveAsDialog component instead, and pass the filename to WebBrowser control. Hope this help, -chris ...Show All

  • Windows Forms Incremental Updates, Proxy Authentication

    Hiya; Does ClickOnce do incremental updates, i.e. if I change one file in my app, is the user going to download the entire app again, or just the changed file. If this can be done, can someone please point me to an article that describes this I searched but came up empty. Also, is it a fact that ClickOnce will expereince problems if the user requires proxy authentication I am looking at C1 as a method for distibution to my clients, but if there would be problems with clients with porxy servers, that would be a Bad Thing (TM). Anyone out there have any experiences to share using C1 to deploy to external clients Thanks, JS Is anyone from MS on this forum I thought you guys were supposed t ...Show All

  • Visual Basic stringbuilder or string within structure to match a C++ struct..??

    **********************     C ++  6.0    ******************************************* typedef struct sSegment {     char   szName[128];                  } sSegment; int EXPORTED GetSegment(long lSegmentIndex, sSegment* pSegment) **********************     data marsaling in vb.net  ******************************************* Public Declare Function GetSegment _         Lib "EVaRT40.dll" _             (ByVal lIndex As Integer, ByRef objSegment As Segment) As Integer ****************** ...Show All

  • SQL Server 64-Bit SQL Server 2005 (Enterprise), SQL Agent Notifications and Database Mail

    We have database mail configured on our 64-Bit SQL Server Enterprise 2005 (SP1) and are able to send test messages from the context menu that appears when selecting database mail component. However for some reason when a SQL Agent Job fails, no emails are sent to the 'operator' that has been defined for the job. I have confirmed that we have the operators correctly configured. We also have a small SQL Agent Job that just sends a test email via the sp_send_dbmail command and that works properly. However if I deliberately create a malformed parameter in the sp_send_dbmail command to 'break' it...no notification of a job failure message is sent. I have verified that the service_broker component is enabled...and the status of databas ...Show All

  • .NET Development To to supply username & password to web service using windows authentication from Win Form?

    I'm doing a Winform client. It has to access some data from web services that use Windows Integrated Authentication (Kerberos) as form of athentication. Within Winform client, how can I supply username & password to those web services Thanks everybody. Well, basically it depends on whether your service uses Web Serivce Enhancements, WSE, or just use plain ASMX. Assuming the latter, IIS will be set to Integrated Security and you will then have to set the credentials on your proxy which in your Windows client is as simple as: TestService proxy = new TestServivce(); proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; If on the other hand you are using WSE you will have to set the SecurityCredentials on ...Show All

  • Visual Studio 2008 (Pre-release) Bug Fixes

    Hi, Being a developer I know that writing software is a tedious business. I would just like to know how much time is spent by the WPF team going through bugs at the official bug logging site ( connect.microsoft.com) The reason why I am asking is because I logged a few bugs that are really critical for the application we are developing, and I would like a "timeline" as how long the whole process would take before the changes is added in a next CTP (which already to long to wait) or maybe a patch Thank you very much, Jaco Both of those issues were entered on 8/10. I'm not sure if the bugs got into our bug DB yet (it takes a little while). I've pointed the TextBox/RichTextBox team tow ...Show All

  • Smart Device Development Help with Timeline/ Measuring time between 2 DateTime's in milliseconds

    Hi, im creating a music application for Pocket PC. Link here: http://www.ableton.com/forum/viewtopic.php t=50295&start=0 I wish to measure a time intival between 2 DateTimes's So im using code below: DateTime start = DateTime.Now // wait some time Datetime stop = DateTime.Now TimeSpan span = stop - start; MessageBox.Show(span.totalMilliseconds.toString()); Problem is it's returning whole seconds like 1400 1500 1600 and not a double like 1405.1234 like it says in the api docs. Anyone have any ideas how do i measure time in compact framework in total milliseconds Thanks for your time. Paul. Use System.Environment.TickCount or P/Invoke ...Show All

  • Windows Forms Modify displayed value in a Gridview

    Hi, In a gridview populated by a sqldatasource. In a varchar column, I would like to show in my website a string which depends of the values (shows A if the value >1 and shows B if value<10) How can I do this without modify my sql table I know how to do in Reporting services but how doing this with Visual Studio 2005 (I hope is enough clear) Thx ...Show All

  • Visual Studio ReportViewer Cause error after deploying the webserver

    Dear all, When I deploy my web project into my Web server,everything is work,but except the report does not work properly. The config of my webserver is win2003 with IIS 6.0.And I make use of the report in the local processing mode and set "sessions state mode=InProc","cookieless mode=UseCookie"on the page of the state management in IIS. The error message is showed below Server Error in '/' Application. We are investigating this issue and I will report back as soon as I have more information. For information on the Visual Studio 2005 Service Pack, please look here: http://msdn.microsoft.com/vstudio/support/servicing ...Show All

©2008 Software Development Network