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

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

Avi_harush

Member List

E_X_P
ajpharrington
MOHAMMED1
scruber
mahima
KitWest
byronfromwesleyan
Dat Dang
MA2005
polymorphicx
laboremus
RobDever
Christian Sparre
Maaloul
foobarX
robinjam
Marek Istvanek
Fahd
incendy
Manjuramu
Only Title

Avi_harush's Q&A profile

  • Architecture Windows Service OR Win App

    I have been told to write a windows service which 'periodically' checking for messages and application updates from the web service. The user has the choice to download updates and messages automatically or to be prompted to download them when they are available. Note: A Message may contain documents. Now my question is is it the right approach to do this using a windows service or windows app/form. Please help me out on this. Thanks kash In my opinion, there should not be any problem while using win service as you are going to check for it periodically and the process will be running in background. You might need to think of more while trying to prompt as Windows Service does not support UI. ...Show All

  • .NET Development System.InvalidCastException: Unable to cast object of type 'ASP.students_payment_aspx' to type 'WMProShop.Payment'.

    I GET THE FOLLOWING PROBLEM WHEN I AM MAKING THE CHANGE IN THE APPLICATION AND REUPLOAD ON THE SERVER PLS PROVIDE ME THE SOLUTION SOON THANKS Server Error in '/' Application. here is the code of the page using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using WMProShop.Controls.Payment; /// <summary> /// Summary description for SchoolCatalog1. /// </summary> public partial class Payment : System.Web.UI. Page { prote ...Show All

  • Windows Forms copying one object to another,..

    Hi, I have a namevaluecollection object which is being used in 2 different threads. One thread updates the values and the other reads it. In reading thread I want to read the namevaluecollection in a local object and then use that local object to read and then display it so that the reading thread uses the namevaluecollection object for the least amount of time. How can I copy the shared namevaluecollection to a local object such that after copying it to the local object, the shared namevaluecollection is set free for the other thread to use... I believe doing this does'nt free the ShareNameValueCollection to be used safely by the other thread: LocalNameValueCollection = ShareNameValueCollection because, say, if I make ...Show All

  • Software Development for Windows Vista ToolboxBitmap

    For the life of me I can't seem to get [ToolboxBitmap(typeof(ActivityTest), "Resources.IconName.png")] to show the icon in the workflow am I missing some other line of code somewhere or is there a know bug I’ve tried everything from checking the format of the .png to writing whole new Activities. Any help would be greatly appreciated I've looked at the SendEmailActivity which is part of the MS workflow samples. The c# version shows the icon, but the vb version does not. They've forgotten to set the buildaction of the png file in the vb project to Embedded Resource. So i changed it. But the workflow of the sample project doesn't show the icon. What can be the reason ...Show All

  • Visual Studio Express Editions MS-DOS??

    How can i create a program that can open up a MS-DOS program within a window Thanks. So this is how I would structure the program -------------------------------------- Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Process.Start( "Program.exe" ) End Sub End Class --------------------------------------- Thanks. ...Show All

  • Visual Studio Team System Visual Studio Team System (newbie)

    Hi All, I'm currently working for a large telecommunications company developing a scheduling system using VB.NET 2005 and SQL Server 2005 with a TCP/IP client/server architecture. Being the sole developer the company has decided to hire an extra developer to help me out on this system. As a result I have been given the task of purchasing the required software etc. With all the different versions of Team System I am wondering which one would be most suitable to my project requirements. Having only used VS standard and Pro and never worked in a development team before any help, comments or suggestions would be greatly appriciated. TIA ... What you need as a server is Team Foundation Server - Workgr ...Show All

  • Visual Basic Features of Sleep method

    Hi everyone, I was wondering, once the number of ms is fixed with Sleep method, is there any way to know how many time lack for to reach the end Thanks for any comment, The sleep method effectively suspends the application and gives control back to the operating system. If you need to countdown or do something similar you should look at the Timer control for a Windows Forms application or System.Threading.Timer. ...Show All

  • Windows Forms repair install (event id 1001 and 1004) - whats causing this in my case?

    I'm getting eventlog events 1001 and 1004 indicating a repair install. The 1001 event description is: Detection of product '{6C2EFFE6-1A20-4FB8-81D2-2B1A3ADFDC53}', feature 'DefaultFeature' failed during request for component '{ 22056900-C842-11D1-A0DD-00A0C9054277 }' This indicates component Global_Controls_MSCOMCTLOCX, which I install from a standard MS VS6 SP6 MSM file. The 1004 event description is: Detection of product '{6C2EFFE6-1A20-4FB8-81D2-2B1A3ADFDC53}', feature 'DefaultFeature', component '{ EDBDF246-2367-469D-AB3D-6F076F338CA8 }' failed. The resource 'E:\' does not exist and this indicates the following component (Component table of the MSI): Component="_C57571A181C24B139A26CBF7E2E09D ...Show All

  • SQL Server Trying to connect to SharePoint database

    I am having trouble connecting to the SharePoint database on my web server. Our company intranet is accessed by http://webservername/ and the SharePoint site is accessed by http://webservername:2020/ (I wanted to put it on a different port to not interfere with our old intranet). Anyway, I need to connect to the DOCS table on the content database, but I can't seem to connect with SQL Server 2005. When I connect to webservername I see our company database but I don't see anything that has to do with our SharePoint stuff. I've tried connecting to webservername, webservername:2020 and webservername\SharePoint and webservername:2020\SharePoint with no results. If this isn't the right MSDN forum for this I apologize, but any advice would ...Show All

  • Windows Forms Simple Form customisations

    Hi, I'm at the moment learning C# through Visual C# Express edition and have a few questions. My first is that in my custom web browser I am designing how do I alter it, so that after I type my URL in my text box, it makes my browser go to that site as well as being able to press a GO button form. Also how I make it so that when I press Maximize the parts of my form scale to my Maximized window. To me these will seem like silly questions to most of the experienced and knowledgeable programmers on here, but I am only 15 so please be kind! Thanks for the Help. Hi, Here step by step instruction. With the empty form in design mode, drag a new WebBrowser control, a text box and a button. Place the web browser to cover the bott ...Show All

  • Visual Basic Run-time error '53' : File not found

    Hello. I don't know if this is the right place to post this error but I really need help. When I run some games programmed with Visual Basic, I get the following error: Run-time error '53': File not found I am running Windows ME (I wonder if that can help). If anyone could help me, I would be really grateful. Thanks. Regards, PedroMCN If your not coding then this definately is not the place for you - these forums are for VB.NET development and not support of applications written in VB - I'd contact the original vendor to obtain support from them or see if they have a web site with support information. ...Show All

  • SQL Server autonomous transactions

    Is there any equivalent to Oracle's autonomous transaction in sqlserver. No. There is no way to do this in SQL Server right now. You can write extended SPs or CLR SPs (SQL 2005) that performs a different connection to the database. But this approach has it's own limitations and scalability problems. One workaround that will work in SQL2000/2005 depending on your requirements is to use a table variable within a transaction to dump the information. Table variables do not participate in user transactions so you can later retrieve the rows and dump them into an error log table for example after the transaction has been rolled back. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. unloading model resources

    Im trying to figure out how to manually unload models/textures/shaders ect. Halp me Intertron! DirecX runtime is a COM compliant API. It means a lot of things, but especially for your concern that each allocated object has a reference counter. The idea behind this counter is to deallocate the COM object as soon as counter's value falls down to 0. The counter is incremented at creation time, on a call to the COM base interface IUnknow::AddRef or IUnknow::QueryInterface. To decrement it, call IUnknow::Release function and the object will be automatically destroyed if its counter value is 0. Anyway, you'll should not care about what is the exact counter value, simply manage your own references to your objects and it will work. For mo ...Show All

  • Visual Basic from list of tables to combobox: what the best way of doing it?

    Hi, From a lot of help from this foum and the Net, I have managed to get a list of tables from my access database with these line of codes: Dim vrn As String () = New String () { Nothing , Nothing , Nothing , "TABLE" } Dim schemaTable As DataTable = objConnection.GetSchema( "Tables" , vrn) DataGridView1.DataSource = schemaTable Using GetSchemOledb also worked fine but I think GetSchema needs much less typing . Since GetSchema returns a DataTable, is it possible to put the list of tables in a combobox if this is possible can somebody reccomend the best way to do it I think it involves getting the names from the TABLE_NAME column which have TABLE as property in the TABLE_TYPE column. Any hint/ ...Show All

  • Visual Studio Invisible dialog box kills Studio?

    When in report designer and changing a field name, I'll compile and get this type of error: Error 1 The Value expression for the textbox ‘Name_1’ refers to the field ‘PersonCode’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope. C:\Test\TestWinForm\ReporterView\Report2.rdlc TestWinForm I can't double click the error of course because it is a designer error, which gives no reference tot he RDLC XML line. The problem now is that there is an invisible dialog box, which will prevent me from doing any editing of files in Studio. If I try to shut down Studio, I get this message: Microsoft Visual Studio cannot shut down because a modal dialog is acti ...Show All

©2008 Software Development Network