poor man's Q&A profile
Visual Studio Express Editions FindWindow API in VB2005 Express..??
Hi All, This is my 1st post here. I have managed to figure out all my other problems so far, until now :) I am coming to VB2005Express from VB6...quite a jump, I know. I cannot figure out what I am doing wrong in this snippet. The return value in VB2005 Express is totally 100% wrong (I am using an API SPy I wrote several years ago to check my numbers. It has always been correct). In my module, I have this: Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" ( ByVal lpClassName As String , ByVal lpWindowName As String ) As Long On My form I have a button &am ...Show All
.NET Development Receive NotModified status without an exception being raised
Hi there! Is there a way to receive the status result NotModified without an exception being thrown by the WebResponse.GetResponse() method. Example: HttpWebRequest request = ( HttpWebRequest ) WebRequest .Create(myUri); request.IfModifiedSince = new FileInfo (myCachedFile).LastWriteTime; HttpWebResponse response = ( HttpWebResponse )request.GetResponse(); // <-- exception is being raised if file is not modified (WebException with Status = NotModified) Since this is a regular execution path in the application I would like to avoid the exception. Thanks, Neno I found a solution. Just add the following ...Show All
SQL Server SQL Server 2005 standards
Can anyone point me to a good set of standards for a SQL Server 2005 environment... As an answer for general questions like yours I recommend Books Online (part of server installation or online at http://msdn2.microsoft.com/en-us/library/ms313868.aspx ). If you cannot find answer there, be more specific. If you are interested in what part of ANSI standard we have implemented in T-SQL, there is a dedicated forum (Transact-SQL). Regards, Boris. ...Show All
Visual Basic running code on tab change
Hi All, i just need to know how i can run some code when a user changes tabs in a tab conntrol. Thanks, Mark use one of the following events: Private Sub TabControl1_Click or Private Sub TabControl1_TabIndexChanged ...Show All
Smart Device Development Regarding the signing of assemblies.
Hi, I am having multiple projects in a solution and i am delay siging the assemblies with a public key. Now VS.NET says that all the assemblies must have strong names in order for the solution to build. One of my project uses a Interop.Shell32.dll which is not a possible for me to assing a strong name to that dll. How can i go about this issue Is there any work around or does the VS.NET IDE provide any option to have only a few assemblies have strong names and also makes the solution build/compile successfully. Thanks in advance. Rajesh Rajeshsv wrote: One of my project uses a In ...Show All
Visual Studio Express Editions I dont know where else to ask..... AutoPlay Menu made in VB Express
I'm planing to make a menu for CD/DVD in vbexpress... is there a way to check if .net 2 is installed befor i run my exe file in autorun.inf or some other solution Andy - If you use ClickOnce publishing to deploy your application, by default it will "bootstrap" the .Net Framework runtime - that is, it will check prior to installation and if the 2.0 framework isn't installed, it will install it for you. Steve Hoag Visual Basic Express ...Show All
Smart Device Development looking for playing video stream
hi.. can i know how to playing a video in pocket pc stream or local i have search this topic but cannot find any answer. Chris Lorton wrote: Odeyssey software ( http://www.odysseysoftware.com/ ) has a product, CFCOM which they demo with an interface to media player. This is one possibility. If you want to roll your own, you'll need to create a shim DLL which you can p/invoke from managed code which will interace with the WMP COM interface(s) you need. If you have access to NETCF V2 (via beta2 or a CTP), you can use the new COM/interop feature(s) to use COM objects directly from managed code. -Chris Already ...Show All
Smart Device Development Compiling and including a DLL
Hi there. I'd like to write a class and compile it to a dll so I can include it in a number of different applications. However, I am having trouble getting any dll that I've compiled to add successfully to my test application that imports the dll. To test, I did the following: - Started a new project in C++, and under 'Smart Device' chose 'MFC Smart Device DLL' as my chosen template. - Then clicked "Next" through to select the Windows Mobile 5.0 Pocket PC SDK to be added to my project. - At 'Application Settings' I left this as the default selected to 'Regular DLL with MFC statically linked'. I don't really know what ...Show All
Visual C# Inserting ComboBoxes in a DataGrid with specific items in each row
Hi, I need to know How can I fill a DataGrid , that contains controls like ComboBox , row by row instead of using : tableStyle.GridColumnStyles.Add(...); Since I need to fill the comboBox control of each row with different items. I have wrote the follwing code but the result is empty cells in the column that expected to be ComboBoxes !!. //*************************** DataSet myDataSet = new DataSet (); //Tags Table with comboBox DataTable tagsTableComboBox = myDataSet.Tables.Add( "Tags Table with ComboBox" ); DataColumn tagID_cb = tagsTableComboBox.Columns.Add( "tag_id" , typ ...Show All
Smart Device Development Difference between SmartPhone and the PocketPC
What is the difference between the smartphone and the pocketPC Adapterboy wrote: A quick question then, since there are 2 different SDKs, does that mean that a software developed for Pocket PC will not work on a Smart Phone (Assuming that we use all the controls that the Smart Phone supports) and vice versa How hard would it be to port from one platform to another a majority of the differences I've experienced are in styling/appearance, and of course user input. the code itself is pretty portable, but your implementation of the GUI may not be. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Most efficient way to draw a colored square (no, really!)
Yeah I know, this sounds really lame... I've actually got textures, input, sound, physics and a bunch of other stuff working, but I have to conclude that the method I'm using to draw a starkly colored square is murderously inefficient. I can add 50 textured squares to my scene and lose maybe 40 frames per second... but adding 20 colored squares to my scene kills about 600 frames per second... from a human standpoint, this makes no sense, since a textured object is much more intricate than a red square, so I'm obviously doing something really bad somewhere. The lowdown on how I'm drawing these "squares" is that I create a D3D ...Show All
SQL Server Two column report page break issue
Hey folks, I have a 2 column report that is not page breaking the way I would like. The report has a list that is grouped by a "Type" field. The header includes this type, though I had to use an aggregate of the report field like: =Max(ReportItems!PlanType.value) & " Contacts" I want a brand new page when the type changes, but since RS treats columns like pages, if my type ends in the first column, the new type begins in the second column. Is there any way to force it to leave that column blank and start a brand new page I had an idea, but I can't get it to work. Could anybody help with t ...Show All
Visual Studio Express Editions MIcrosoft Visual C++ Runtime Library
I am getting this error when trying to open my newly installed quickbooks: Runtime Error! abnormal program termintaion Any Ideas on why this might be Thank you Chris Error was due to either the msvcp80.dll or msvcr80.dll not being in the windows>system32 folder. Copied these files from another directory, within windows, to this location. Problem solved! ...Show All
Visual Basic An Efficient Way to Check String Variables?
I have a program that needs to check through strings and retrieve contents from them. The strings are formatted like so: ex: dim string1 as string = "5467,5829 keyword" Now, what I need to do is to check to see if input from a textbox matches the text in place of "keyword", and if it does, to then extract the pixel coordinates at the beginning of that particular string to then be converted into integers. So, I was looking for an efficient way to check thorugh the strings 1 by 1, so that I don't have to write an 'if - then' statement for every single string. Unfortunately, I haven't had any luck doing this, and so ...Show All
Visual C# Web Setup Project & Pdf files
I'm having a problem deploying a web application that contain pdf files. Somehow the pdf files in my application are not included in the web setup project so when I installed the .msi file on the server, I'm missing the pdf files. If I do Add -> Files -> The pdf files will be included but the path of that file is not stored. All of the pdf files I included are now stored in the wwwroot directory on the webserver. Is there a way to include these pdf files in the web setup project Thanks in advance firstly: this question should be posted to the ASP.NET forums ( www.asp.net ) but ...Show All
