EdSF's Q&A profile
Visual Studio Express Editions a few questons on webbrowser, proccess
Hey firslt , i have a webbrowser with a textbox that has : aurl.Text = WebBrowser1.Url.AbsoluteUri well the problem is that , when i type a wrong web adress , the value of WebBrowser1.Url.AbsoluteUri becomes null and an error occurs i was wondering , is there any way to escape this bug like what code i should put and also i need the code for a timer who will check if a process called "JPCUpdate" is running if u can help me with this , that would be good thanks for your replies it all worked but just a few comments : 1. in Try aURL.Text = WebBrowser1.Url.AbsoluteUri Catch ex As Exception MsgBox( "URL is invalid or other error occured" ) End Try its a timer so having a message box in th ...Show All
.NET Development Update requires a valid UpdateCommand when passed DataRow collection with modified rows
I m coding with VB.Net. I have a datagrid on my form with a dataset as its datasource. The dataset contains rows from a joined two tables: Feature table and Price table. Feature table contains the customers'features. It has the ID of the features, the date the feature was added, the expiry date, the employee who added it.... The Price table is a look up table that contains the ID,price, Code, description and name of each feature. So my SQLquery is: SelectFeature_ID,Feature_DateEfect,Feature_DateExpiry,Feature_Employe, Price_Name, Price_Code, Price_Name... The reason why I use that joined query is that I need to display all the columns on my datagrid including the values from the Price look up table. But I update only the Feature table wit ...Show All
Visual Studio 2008 (Pre-release) Arrange Method
Hi guys, what would be the main scenario in which Arrange call isn't honored I have a panel and call its children Arrange from within ArrangeOverride, which is not fully honored. It either updates child's 'Margin (I'd rather say position as the actual element’s Margin remains blank) or Size and never both. I'm trying to figure out what am I doing wrong. Thanks Dmitry, I've re-read your question and can't quite understand what issue you're encountering. That said, one experience I've had was when having a panel ocntaining other elements. I was calling measure() on my children with infinite size, and was then calling arrange() with the final size. It was breaking down horribly with s ...Show All
Silverlight (formerly WPF/E) Glyph's don't register mouse events?
Is this a known issue of Glyphs not responding to mouse events Check out my sandbox for an example: http://jgrunstra.blitzagency.com/wpfe/sandbox/ You can click on the TextBlock ("I Am WPF/E") and the image (blitz logo), and both register the event, but clicking on the Glyph ("Click Me") doesn't respond, and if you click an area of the glyph that is covering the image then the image registers the click event even though the sudo z-order has the glyph positioning on top of the image. The SDK says Glyphs recognize all the usual mouse events. http://msdn2.microsoft.com/en-us/library/bb188338.aspx Thanks! -Jason can you help me with the last question at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1413175 ...Show All
Visual Studio Visual Studio 2005 SP1 doesn't support pre SP1 projects?
After upgrading to Visual Studio 2005 SP1 I get the following error when I try to open up any existing solution: "The project file '<project>.csproj' cannot be opened. The project type is not supported by this installation. This is the second machine that I have screwed up by performing the SP1 install with identical behavior (It was an independant download of SP1 code.) VS05 with SP1 seems to be able to create new projects fine and it does seem to like its new projects, but doesn't seem to like any pre SP1 projects. What kind of project is this Was it created with the Web Application Projects add-in Opening pre-sp1 projects should off course continue to work after installing sp1 ...Show All
Visual Studio Team System tfs alerts
Is there a way to configure alerts to be sent out when work items are assigned to someone People can sign themselves up for alerts from inside VS (Team -> Alerts). Admins can add subscriptions for other people using bissubscribe (see http://blogs.msdn.com/psheill/archive/2006/02/01/522386.aspx). Another way is to build your own web service. Here’s an example ...Show All
Visual Basic Help to seek in a form
Hi I have a form where i use a Bindingsource and a bindingnavigator all works fine but i also want to ahve a dropdownbox where i can seek after a record I try to use this: in my combobox ComboBox3_SelectedIndexChanged Me .KursusBindingSource.Position = Me .QhenttomtkursusnavnBindingSource.Position Its works second time i make my choise, so i shal make my choise 2 times then its works , i believe it bescause my Me .QhenttomtkursusnavnBindingSource.Position is the postion i'm in when i make the choise and not the position after i make my choise I have try to update my combobox , but it dosn't help, is there someone there can help here Regards Alvin This might work. Me .KursusBindingSource.Position ...Show All
Visual Basic Different colors in different lines in a Checked ListBox?
Hi, I have a bit of a problem in VB.Net, you see, I need to have different colored lines in a checked list box. Here's what I mean: Line1 in checked list box is red Line 2 in checked list box is green Line 3 in checked list box is blue So to rephase, is it possible to have individual coloured lines in a checked list box Any helps appreciated, Sazz181 Thanks Dman1, problem solved, and I haven't lost any functionality either. Does just what I needed - thanks. ...Show All
SQL Server Dynamic SQL in SSIS with Oracle
Hi , 1.Dynamic Sql ---------------- My source table is Oracle .we want to have dynamic query the following steps we have done. a.Created a new variable called StrSQL & ProductID variable contains values for where clause. b.Set EvaluateAsExpression=TRUE c.Set Expression=""select * from prod where product_id = " + @[ProductID] d.OLE DB Source component, opening up the editor e.Set Data Access Mode="SQL Command from variable" f.Set VariableName = "StrSQL" But i am getting the following error Error at DataFlow Task[OLEDB Source[1]]:An OLEDB error has occured, Error code: 0x80040e14. AN OLE DB records is available . Source "Microsoft OLEDB Provider for Oracle" Hresult: 0x80040e14 Description : "ORA-00936:mi ...Show All
.NET Development Deleting file from fileserver
I would like to be able to delete a file from a file server. I have code to do it for an ftp server, but u nfor tunately applying this code to files on a file server does not work since the following does not exist: FileWebRequest request = ( FileWebRequest ) WebRequest .Create(serverUri); request.Method = WebRequestMethods . File .DeleteFile; I also have a way to make a temporary z drive and work with code that basically inputs into a command window. The problem here is I am not sure what the command line is to delete a file. Also, the file server will be protected by a username and password, so I need to take that into account. Does anyone know the best way to go about deleting a file from a file server If you leave ...Show All
SQL Server Changing parameters causes refresh...
Hey Guys, I have two parameters on a report, which are independent of one another, yet when I change one, the current report refreshes, and I'm left with a blank screen. What is causing the refresh behavior on this report It appears as though it is treating them as cascading parameters, but I don’t use one to filter the other. Since the report has default values, when first navigating to the report, it displays just fine. I would like the user to be able to change the first parameter without the report refreshing to a blank screen. Once it refreshes, they can click on the “View Report” button and see the report, but I would like for the current report to stay there, which is the case on my other reports, until they click the button. ...Show All
Visual Studio Express Editions Add button
Hello I'm a new developer in C#, I'm developing a Calculate, with a text box that will accept number(onclck of a button). I have achieve to add numbers(on button clik), on clicking the button add I would like the calculator recognise the first cliked number and add the seconf cliked number to it, Here is my coding so far, public partial class Calculator : Form { public Calculator() { InitializeComponent(); } private void ButtonSeven_Click( object sender, EventArgs e) { TextBoxResult.Text += "7" ; } private void ButtonEight_Click( object sender, EventArgs e) { TextBoxResult.Text += "8" ; } private void ButtonNine_Click( objec ...Show All
Visual C++ Passing Parameters to MFC Application
Hi, I want to pass a parameter to my MFC Application, ie "myprogram.exe /noverbose" I've tried to look for resources on the web, and found some like CCmdLine. However, they don't work. I even tried to overwrite the main() method but it doesn't work too. Can someone advice me on how to go about doing it Thanks. - Regards, eddy05 I think you can try the combination of GetCommandLineW and CommandLineToArgW functions. See http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/reference/functions/commandlinetoargv.asp and provided example. I hope this helps. ...Show All
Software Development for Windows Vista TransactionScope with sql and msmq
Is it possible to use transactionscope and in the {} to use sql and msmq msmq is the datasource and the sql is the target. I wan't it to be transactional Could't find a sample for it . Is that possible Thanks Avi Hi, Can you try moving " MessageQueue messageQueue = new MessageQueue (qPath); " inside the TransactionScope scope That should do the trick. Cheers! ...Show All
Visual J# How do you publish applications to the web
I am a desktop application creator. I use Visual Basic, and Visual C++. I am new to developing web applications. I just Downloaded Visual J#, and already understand the basics of it, because the language is alot like visual basic and c++, So all I need help with is puting my applications on the web. Can someone kindly help me Hello, You might want to refer to following thread : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=360853&SiteID=1 Let us know if you have any more questions. thanks, Varun ...Show All
