Learning VB's Q&A profile
Visual Studio Express Editions blocking IE sites
how can i make it so that when a clicks go or enter on internet explorer,it will do a block on certain sites you type on a textbox,each filter is sepparated with a | for example porn|sex and things like that,and if you can help me here too,how can i make my program start with IE Many Thanks in Advance Hey! I support anyone who opposes porn!!!!!! I know the mechanics of the webBrowser and know the mechanics of what you want to do vis-a-vis the webbrowser. My question becomes, who is going to stock the database of bad sites and keep that database maintained ...Show All
Visual Basic Using Application Settings??????????????????????
I need to save an array of about ten elemnts in the application setting as application wide setting user scoped I've tried in settings page of My project properties but I don't figure out how to do it is there is any way to do that if there is no way has any one an idea of the best way that I can have the general Idea done Can you not use one of the types from system.collections such as an arraylist Are we talking one or multi-dimensional array / data structure ...Show All
Visual Studio Express Editions Generating real-mode, 16-bit, DOS executable with Visual C++ 5.0
I am going over the electronic doc in order to findout information about this but I can't find any answer for this. If anyone can answer me that would be great. Also, I'd like to build 16-bit (Real-mode) or 32-bit (protected mode) DOS applications using the Microsoft Visual C++ Express (5.0) compiler and I'd like to find out if it can support these kind of code generation. Would I need a special linker (such as Pharlap) or any DOS extender for linking 32-bit code thanks in advance! Sylvain P.S: Dont reply back asking why on ewould want to generate DOS based programs in 2006 :) I have a special need for this ! 16 bit real mode is definitly out of the question. All current Microsoft compil ...Show All
Visual Studio 2008 (Pre-release) How to: Replace the Default Content Host for a ComboBox
There is a very nice MSDN entry how to replace the default content host for a TextBox , with sample source. Now I'd like to replace the default content host for a ComboBox, but somehow it does not work like it would for a TextBox (nothing shows up). Is there somewhere a sample how to replace the default content host of a ComboBox Or any hints Thanks, Sam You will need to provide a completely new template for ComboBox. There is a sample template here: http://windowssdk.msdn.microsoft.com/en-us/library/ms752094(VS.80).aspx ...Show All
Visual Studio 2008 (Pre-release) Drilling down to the source of a WCF error
I'm having trouble finding the source of a WCF exception I get calling a function returning a complex type over a netTcpBinding. Judging from the trace, my problem comes from an array (see bolded part below, near the end of the very long trace). There are indeed array members in classes included in my return type (members of members of the return type to be exact). Now, how do I go about finding which array is wreaking havoc and why Edit : the problem is better defined in my further posts below System.ServiceModel Transfer: 0 : , relatedActivityId=18d927d1-79df-4388-95cf-43cc8ce9cb87 DateTime=2007-01-15T18:16:20.0184792Z Callstack= at System.Environment.get_StackTrace() at System.Diagnostics.TraceEventCache.get_Callstack() at Sy ...Show All
Smart Device Development Question on DRK
I am currently using Visual Studio 2005 Professional Edition. I looked at the link for Windows Mobile 5.0 Developer Resource Kit and ordered the free copy but have not installed it. I was wondering, do I need to install the Windows Mobile 5.0 Developer Resource Kit if I already have the Visual Studio 2005 Professional Edition So, you are saying that for a beginner like me who has VS2005 Professional there is nothing that I need to load from the Windows Mobile 5.0 Developer Resource Kit I hope I am understanding you all! Thanks, Jim ...Show All
Visual Studio Express Editions character count,richtextbox editor
ok I have a working word count, but cants eem to het the character count to work right. it doesnt start off with zero, and with 1 character it displays 2, otherwise counts correctly. I tried making 2 seperate routines, 1 for word and 1 for char, then tried combining them. for some reason the char count starts off with an extra number. any advice great;y appreciated. Private Sub rtbDoc_TextChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles rtbDoc.TextChanged Dim in_word As Boolean Dim i As Integer Dim ch As String Dim num_words As Integer Dim charcount As Integer charcountbase = 0 For i = 1 To Len(rtbDoc.Text) ch = Mid ...Show All
Smart Device Development AV UPnP control point LINK ERROR !!!
Hi! I try to compile AV UPnP Control point sampel from Windows CE 5.0 distribution outside Platform Builder , in VS 2005 . The SDK is for a MIPSII architecture but I 'm problems with linkage . I use debug version for my project , and of cource debug version for library modules.I checked the library modules paths and all are ok. From Platform Builder all worked ok.I guessed thsse errors come from real time debug support .I don't have another idea The Ouput : /----------------------------------------------------------------------------------------------- Error 1 error LNK2001: unresolved external symbol _CrtDbgReportW atlsd.lib Error 2 error LNK2001: unresolved external symbol _CrtDbgReportW atlsd.lib ...Show All
Visual C# Controls Transparency
My purpose is to display rotated text or image on the running movie. For that I have used windows media player control in .net. I add the AxWindowsMediaPlayer (Windows Media player Control) on my form and set dock properties to fill. And put the Label and set the BackColor to Transparent. But instead of displaying the movie as background its displays the BackColor of the form. I want the background movie run in background and display the rotated text amd image on that without background color of the text and image. Thanks in advance. Hi Nayan. I believe there is no easy way to do this. I had to do a similar aplicatio ...Show All
Internet Explorer Development IE7: BeforeNavigate2 not called any more on javascript links
Hello, I have discovered that IE7 does not call the DWebBrowserEvents2 event BEFORENAVIGATE2 any more when the user clicks on a javascript link. The event was invoked in IE6 and allowed BHOs to handle javascript links. Before IE7 it was possible to cancel, modify or otherwise react on javascript invocations. I used this functionality to implement a pop-up blocker for IE. Example Code <html> <body> <a href="j a v a s c r i p t : alert('pop-up');">Pop-Up</a> </body> </html> // added spaces between "j a v a s c r ip t :" to be able to post the code Please call the BeforeNavigate2 event again for backward-compatability reasons or introduce a new event whenever a javascript link is act ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Changing sprite origin from top-left to center
In the XNA help I see the following: The origin is a specific point on the sprite—by default the top left of the sprite (0,0). How do I change the origin to the center of the sprite Is this something that is done in the DirectX Texture Tool Thanks in advance! It's important to remember that the origin is based on the original texture, not the onscreen texture. The idea being that no matter how much you scale and rotate the texture, the origin stays constant because it always relates to an unscaled, non-rotated image. A Wilco, did you look at the project I posted in your thread to help you understand origins ...Show All
Visual C# An unhandled exception of type 'System.DllNotFoundException' occurred
hi all am using a library for image processing. i have built a seperate application to compare images. this application is working sucessfully and when i try to integrate this application with some other application then i am facing the error like this An unhandled exception of type 'System.DllNotFoundException' occurred Additional information: Unable to load DLL (VICTW32.DLL) but am following the same steps as i did in that application the dll gets loaded without any error in that project. but i face some problems with loading it here. i have also given the references that are needed for the project now am stuck up at this point with nothing to do.. as i dont have much idea about working with ...Show All
.NET Development Design Issue: Multiple definitions of db in separate prjcts. Aggregating prjcts in 1 sln. Help eliminating redundancy
Hi. ...As you probably noticed by my thread title, I am having a design issue and would like it if you could help. ...What I am making is a meal planner (in C#.NET) The relevant modules that cause the problem are my "RecipeManager" and my "IngredientManager." A little background on why this arose: I encapsulate my db connectivity objects and my dataset into 2 classes, clsDatabase and clsQueryResults(It's how we learned in college.) The flow of logic from the UI to the db goes something like this UI->Application->clsDatabase->ADO.NET->...->database ...I didn't wanna take the time to fill in the "..." ;) ...you get the idea. But now, I have 2 projects running in the same solution t ...Show All
Windows Forms Adding nodes in AfterLabelEdit event handler of treeview control
Hi! In my windows application I need to add some nodes to a node of a treeview, which number depends on what user enters in the node label. For example: if user edits the label of a node and digits "1-1000", I have to add 1000 nodes to the parent nodes. To do this, I read the label, calculate the number of nodes and then add them to the parent node. This is a part of code: e.Node.TreeView.BeginUpdate(); for ( int i = 0; i < 3000; i++) e.Node.Nodes.Add(i.ToString()); e.Node.TreeView.EndUpdate(); The treeview repainting was very slow, so I have tried to do the same thing, but out of AfterLabelEdit event handler (I created the nodes after a DoubleClick over a node). The result is that treeview repainting i ...Show All
Visual Studio 2008 (Pre-release) Bad request?
I am getting the following exception: TestCase 'TestGetBasket' failed: System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. System.ServiceModel.ProtocolException: The remote server returned an unexpected response: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebRespo ...Show All
