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

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

webedc

Member List

Scooter_65DV
Robeen_S
C2_CHS
algoaddict
SAADEDIN
lockdon9w1
dellthinker
Snoby
Flame Thrower
ckob22
Corvineum
Andy E
Babuchellathurai
WillieSea
PedroMarques
stanjo
sd_dracula
rottengeek
Ivan Selchenkov
Lawrex
Only Title

webedc's Q&A profile

  • .NET Development Cannot access the database due to permissions.

    Hi there! This problem is taking place over two servers (intranet): Public and Front1 (ASP.NET framework installed) An .aspx report exists on the front1 server, and the database exists on a Public server. I'm trying to access the report through ie but the get the below error. Server Error in '/scorecard' Application. I figure that it is a permissions problem but I've tried a myraid number of things, but I get the same error. What other info. shall I provide, please be of assistance. Thank you very much. See the following: An unhandled exception may occur when you try to connect to an Access database from an ASP.NET worker process ...Show All

  • .NET Development Finding the program path

    How do I find the program path. This would be the path where the program was installed...I want to make sure all file creation/manipulation stays within this directory, but I just don't know how to pull this path. The only examples I can find are in C++ here on the forums. I don't know if a user changes the path of application after installation. There is one property to check that from where current application was run/started. string appPath = Application.StartupPath; This is what you are looking for Best Regards, Rizwan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where do I get the Framework?

    Everyone seems to be using it. Where do I grab this stuff The first step it to download Visual C# Express edition, then install and register it. According the the documentation you need to register it, so I just followed the rules on that one. Once you Visual C# Express Edition installed, then go ahead and download Game Studio Express and install that. You must install GSE second! Everyone else provided the links you need already.. otherwise just have fun! Mike WilderLand Software ...Show All

  • Windows Forms Inherited form question

    I would like to create a base form with a menuStrip control that contains 2 menu items to appear on each inherited form. This is no problem! However, I need to add different menu items to the menuStrip on the various forms which inherit from the base. I have set the status attribute to protected on the base form's definition of mnuStrip. I still cannot add items to the mnuStrip on the inheriting form. Any suggestions will be appreciated. Hi mrferg, Thanks for your posts on MSDN forums. Your discovery here is a bug of VS runtime designer already reported by our customers at: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx feedbackid=2a3a6865-b3e8-44c6-80d4-4f764609c032 ...Show All

  • Visual Basic ComboBox, No Change.

    How do I stop the user from changing the value in a ComboBox Thanks Brendan, I already knew that, but it's not what I want. I need the user to be able to select the items in the combobox, I don't want them to be able to write text in to it. ...Show All

  • SQL Server Thread.Abort causes loss of server connection

    Hi , I have some C# code that will do full cube processing on a thread. If this thread is aborted I want to rollback the transcation. So I catch the ThreadAbortException and do a RollbackTranscation. When I do the RollbackTranscation, it throws a InvalidOperationException, and I am not able to do a roll back because 'The Server object is not connected'. The server.Connected property is false in the catch for InvalidOperationException. What is not clear is why is the sever connection lost Thanks in advance. Bipin Here is a code snippet of what I am doing, void Worker() { try { server.Connect(olapConnectionString); server.BeginTransaction(); Database database = server.Databases[ " ...Show All

  • Visual Studio Team System Calculating response time for each request

    We have to find the response from each request that is generated. for e.g: login How can we track when exactly do we get the response. for e.g i may have to do something like this:- starttime= Datetime.Now WebTestRequest request3 = new WebTestRequest ( "http://172.16.201.163/NWAAdmin/ParticipantLogin.aspx" ); Extract when we get the response here after we send the request ..(How to find this particular part) endtime=datetime.Now yield return request3 timedifference=endtime-starttime Log it to a file etc..... Httpwebrequest class had a method called getresponse which is not present in the webtestrequest. I tried using the FormPosthttpbody.writehttpbody but it makes the stream's CanRe ...Show All

  • Software Development for Windows Vista About persistence, IEventActivity, Transactions and correlations

    Hi, I have a bounch of questions. 1. Persitance The activity can be adorned with the [PersistOnClose] attribute. What happens in the following scenario: - we have a sequential workflow with 2 activities: A1 followed by A2 - activity A1 is adored with the [PersistOnClose] - A1 finishes executing and moves to Closed state - the runtime persists the activity A1 - the computer crashes - after the computer is restarted, the workflow hosts is started again. The persistence provider automatically (am I right ) loads active workflows and continues the execution at the activity A2 . Right How does the runtime know, which activity should be executed next after it deseralizes the workflow What data is persisted by the persistence provider: ...Show All

  • .NET Development Delayed Datareader column error

    In a live application which i created, i noticed that after a day or two, i get a datareader error, specifically the error which returns a column name as it's message. i.e if i had written reader["col_name"] i get col_name as the error message. The problem is that i read 5 column names in a single read, and the messages vary, it not always the same column name. However, whenever i restart the server, the problem goes away for another day or two. Recently i increased my max pool size because i was having pooling issues, this had an effect on the datareader error in that it now occurs every 2-3 hours instead of the 1-2 days. pls i need help on this one Thanks Nothing really stands out as ...Show All

  • Visual C# P/Invoke call to external DLL

    I am stuck trying to get a P/Invoke correctly done to a 3rd party DLL. The DLL is called DNA.DLL. I have other P/Invoke calls working to it, but this one just doesn't want to. The problem is that it returns a string via a buffer. Whatever I try to declare as buffer (ref string, out string, ref StringBuilder, out StringBuilder) ends up causing a System.AccessViolationException in .NET 2 (C#, VS 2005). Here is the info I have about this call: Delphi: function DNA_Param(param,value:pChar; value_size:integer):integer; stdcall; VBasic6: Public Function DNA_Param(ByVal param As String, ByRef value As String, ByVal value_size As Integer) As Integer C++: int __stdcall DNA_Param(char *param,char *value,int value_size); Request to the DNA Clie ...Show All

  • SQL Server Find Duplicated value

    I have a table having 50000 rows. One field(Name) of the table may have duplicated data. How can I get all the duplicated data Hi, what about SELECT SomeColumn FROM SomeTable GROUP BY SomeCOlumn HAVING COUNT(*) > 1 HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Custom User Control (drawing outside the parent Region)

    Hi, I am trying to create a custom combo box, whic is a combination of textbox, command button and a datagrid. I am able to implement pretty much whatever was required. I ran in to a problem when the user control is contained in a Group Box, thus on the drop down event, my Grid (which is acting as the drop down list) does not show properly as it cannot go beyond the boundries of the Group box. Is there a way I can make my user control act as Top most Window so it draws over every other control. It tried using Function SetWindowPos Lib "user32.dll but it doesn't seem to work. Any help would be appreciated. Thanks No, a control is clipped by its container. One workaround is to temporarily grow the size of the ...Show All

  • Visual C# How to raise an event

    I have two forms form1 and form2, when i click a button in form2 I want form1 to do something only if a button in form2 is clicked....How do i set up basics for an event to take place in this manner any help... No event is needed in what you are trying to achieve. Create some public property or function on the form which has to work. On the other form's constructor, pass the reference of first form so it can call that function or property. Handle the Click event of the button on this form and call the othe form's function like this: mainForm.DoWork(); Cheers ;-) ...Show All

  • Visual Basic Explorer's Send To

    Hi everyone, I'm currently working on a very importent project, and I have a problem. On the explorer, when you right click a file, on the context menu, you can choose the "Send To" submenu, and there there are options. What I want to do, is to use that option, and to "Send" a specific file to there. It's not always a folder to send to it, it's sometimes a printer driver. How can I do it Ofir. Here is an article on Windows Shell Extensions in .NET. Sadly, it's in C#, like most examples these days, but i'm sure you can find others that are similar or translate it. Let me know if you need a hand. http://www.informit.com/articles/article.asp p=169474&seqNum ...Show All

  • .NET Development Updates Using the Entreprise Library DAAB

    I am using the Jan 2006 Enterprise Library DAAB. One of the big benefits for me is abstracting myself from the database. I work for an ISV and our product must run on multiple databases. With that said I have been instructed to stay away from stored procedures. The dataadapter can create Update, Insert and Delete commands dynamically based on the Insert Command. I am trying to figure out how to dynamically create delete, insert and update statements using the DAAB. It appears that you to update using DAAB you must create your own commands. Therefore I decided to try and create a generic routine that would create these commands based on the columns in the dataset. I can cycle through the columns in the table to get the column names and ...Show All

©2008 Software Development Network