Boulderdude's Q&A profile
Visual Basic Using a declared function in a dir' address.
Hi Guys, Ill be upfront, i am extremely new to VB and am still learning the ropes, so apologies if i do not make much sense lol! Ok, what i am trying to do is place the current user logged on to the computer into a directory. Eg, ------------------------- ChDir "C:\Documents and Settings\ USERNAMELOGGED IN \Desktop" Workbooks.OpenText Filename:= _ "C:\Documents and Settings\ USERNAMELOGGED IN \Desktop\IMEI.xls", Origin:= _ xlMacintosh, StartRow:=1, DataType:=xlDelimited, TextQualifier:= _ xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False, _ Comma:=False, Space:=False, Other:=False, FieldInfo:=Array(1, 1) ----------------------------- I am wanting to repla ...Show All
Visual Studio Express Editions OpenGL cannot find glut.h?
I'm learning opengl now. after i developed the code and start to build the solution, it always give me the error: fatal error C1083: Cannot open include file: 'GL/glut.h': No such file or directory but i do have the glut.h file in lib/GL, or i need to set the path or sth like that thx in advance. ...Show All
Visual Basic text formating
Hi, i would like to ask whether can i format the text in textbox in such a way that whenever there is a bullet, it will display it in a newline. the textbox data is retrieve from a database in the same column. Hi, sorry I wasn't clear. It should be: Private Sub txtDisplay1_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtDisplay1.TextChanged txtDisplay1.Text = txtDisplay1.Text.Replace("."c, ". " & Environment.NewLine) End Sub You also hadn't declared the characters correctly, as it would have been looking for a string "95". If you're using a full-stop now, it should work OK as above. However, you will want to be careful doing this in the text-changed event. Wh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just about 12:30 AM, my guess is you'll still have to wait several more hours, probably at least 8 and a half since the workday starts for most people in the US around 9 AM. Even then I don't expect to see it until later in the afternoon Pacific time. ...Show All
Visual Studio Express Editions <br> tag shortcut?
Is there a shortcut key for the <br> tag I know this is prob a dumb question but I couldn't find it in the keyboard customizer settings, nor online. Seems like an obvious need for a keyboard command.... maybe it doesn't exist. ...Show All
Architecture GOST cryptography with IE
I have a few questions. 1) Can't IE understand certificates with GOST encryption & signing algorithms. I have a PFX file for GOST but I can't import it into IE. However, I can read the private key from the PFX file using Java program. 2) Even if I import it somehow, how will I do the signing part with CAPICOM because there is no underlying crypto provider in Microsoft that supports GOST algorithms. If I get a CSP for GOST, how can I use it to sign messages using CAPICOM 3) Do you know of any GOST CSP's that I can use with Windows Thanks in advance! ...Show All
.NET Development Memory Issues
Hello all, I've been trying to profile my ASP.NET application on my application server. I set up 2 counters for aspnet_wp process namely '#bytes in all heaps' and 'process:private bytes'. According to a documentation that i read, '#bytes in all heaps' should be less that 'process: private bytes'. However the '#bytes in all heaps' was far greater than that of the 'process: private bytes'. I'm lead to believe that this indicates a memory leak somewhere. Now, the problem is that i've got 15 ASP.NET applications running on that server and i need to find which application(s) are causing the problem. Please i'll need help on which counters to set up that will enable me pin point the rouge application. Thanks Emeka. ...Show All
SQL Server Preparation
Hi, Any suggestions on how to get a crash course to prepare for an interview on SQL Server 2005 Integration Services please Thanks I think you could get by with reading Books Online for this. It actually has some very good topics, some of the narratives are very informative. I also support the suggestions from Thibaut, but if you are waiting for book, try BOL now. As to what topics exactly..... well I may have to interview someone who reads these forums... umm... I have! I'll keep the details to myself for now ...Show All
Visual FoxPro foxpro for windows
sir, i hope i am not troubling you all. i have installed foxpro for windows 2.6 on win 2000. but i am not able to run foxprow.exe. i get error "divide by zero or overflow error" how to fix it. u have to apply the patch to foxpro 2.6 (windows) it to work in windows 2000 / XP http://support.microsoft.com/kb/240982 http://support.microsoft.com/default.aspx/kb/102893 once u apply the patch it will work fine in any version till Windows XP SP2 ...Show All
Visual Basic use vbsrccopy function of VB in VB.Net
I want to use the vbsrccopy function of vb in my vb.net application so anyone can help me in finding the alternate function of vbsrccopy in Vb.Net or how can i use that library function VBSrccopy is the library function of vbrun.rasteropconstant class in visual basic. The fastest way to do this is in an unsafe block in C#, you can access a Bitmaps bits directly. I assume you're after 30 fps animation, in which case DirectX is a better bet, but otherwise, C# would allow you to have a bitmap, do a straight memory copy of the bits into a pointer, and draw it every time. ...Show All
.NET Development impersonating the user initiating an action over the network
I am trying to write a simple server/client application that will perform operations on the server using the permissions of the person running the client. I have saught to do this by serializing a WindowsIdentity object representing the client and sending it through a NetworkStream that is connected to the server (which will run as a windows service). Then I attempt to impersonate the user on the server using the WindowsIdentity object. Well, aparently the WindowsIdentity object does not contain a full set of credentials because once it gets to the server it simply sais that the handle is bad. I can see how this situation would happen, but what to I need to do to transmit the user's security token to another comput ...Show All
Visual C# Constructor Logic???
In dealing with Forms in .Net and they have a form load function that does some things when the form is loaded, I was trying to figure out would i be able to do the same thing if i added the logic in the forms constructor... Like say if i wanted to show some data values when the form loaded, would i be able to add this logic to the forms constructor instead of adding it to the form.load() Ahmedilyas is very right on this one. java.net recently published an article about the five habits of highly profitable software developers which very much applies to everyone. They talk about this issue specifically: " Habit 1: Constructor Performs Minimal Work - The first habit is for an object's constructor to do as little work as pos ...Show All
Software Development for Windows Vista DragDrop operation behaviour is changed in Vista
Hi, In Vista dragdrop operation cannot be set to move. (i.e. DROPEFFECT_MOVE ) when UAC (user account control) is set to "on" If I set the drag drop operation to move then the drag drop operation prompts me stating "You will net to provide admnistrative permissions" and when accepted it confirms the action and I see a progress bar, but even after that the dragdrop operation is not succesful. If I set the dragdrop operation to copy everything works fine. Can someone tell me how to go forward. Thanks, Arun can you explain more about the origin of the drag operation, for example what process is originating this, is that process running at an elevated privlage le ...Show All
SQL Server Expression from within sproc?
If I'm inside a stored procedure called by an MDX query, the following would query the cube and figure out the sales for the current tuple: new Expression("[Measures].[Internet Sales Amount]").Calculate(null).ToDouble() So I was expecting to be able to do that from within a stored proc called from a DMX predict query. I was hoping that I could evaluate the $Cluster expression from within a sproc and figure out what cluster the current row in the DMX query belongs to. Basically, I'm trying to make my sproc function signature more elegant so I don't have to pass in the NodeId like: select $Cluster , MyAssembly.MySproc( PredictNodeId ( Cluster ())) as CoolData from [Customer Clusters] NATURAL PREDICTION JOIN ( select * f ...Show All
Windows Forms ListView Items Question
Hi folks, I'm wondering how to get a ListViewItem with just it's index. Can anyone tell me the method for this -Zero Strange, but the code you folks quoted above doesn't seem to work: listViewFilters->Items[0]; Produces the compiler error, " c:\Documents and Settings\Zero\My Documents\My Visual Projects\LogCopy\dlgFilterList.h(268) : error C2845: '[' : cannot perform pointer arithmetic on __gc pointer 'System::Windows::Forms::ListView::ListViewItemCollection __gc *'" The project is in Managed C++ under Visual Studio 2003. ...Show All
