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

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

vijil

Member List

Captain Jack
vonlinkerstain
J Lim
Trembru
robinjam
Steve Graber
k3bdf
CET PRG455
cfoks
winstonSmith
MariamCR
jshepler
tjmaxx7
JaceKiwi
NuclearChicken
stak32
Faladrim
Josh Smith
ManjuVijay
hohsen
Only Title

vijil's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh.Simplify acting weirdly?

    Hi everybody, I'm trying to do a terrain renderer lately. My terrain is made of patches, which I want to generate with a mathematical formula (fractal brownian motion). I try then to simplify  the mesh programmatically, using the function Mesh.Simplify. When i do this for one patch, everything works perfectly (Mesh is simplified). However, when I try to create more than one patch, the Mesh.Simplify drops a StackOverflowException (in mscorlib.dll). I'm using the April 2006 DirectX SDK, tested with the latest D3DX Util file and the first (2902 and 2911 build version). Here is the call stack, as shown in the IDE: [External Code] > Framework.dll!Framework.Patch.Patch(float Size = 16.0, Framework.NoiseAlgorithm Algorithm = {Framework ...Show All

  • Software Development for Windows Vista Enabling Theme Support via Manifest

    My application (using the WIN32 API) enables XP Visual Styles under XP with a manifest. But when the app is run under Vista, Visual Styles / Theme Support does not get enabled. (Buttons have square corners, no highlighting, etc.) What can I change in the manifest (or in the C code) to enable Vista Themes Manifest: < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="SabioNet.AshWin.ashw32" type="win32" /> <description>AshWin</description> <dependency> <depen ...Show All

  • Windows Forms Setting the currentcell to the cell with an error

    Hello, I have just recently started using Visual Basic 2005 and I am currently having problems with my program. The program I am working on retrieves a table from the combobox (there are 4 tables) and displays the data in a datagridview. The table is then bound to textboxes, which will allow the user to enter or adjust data. My problem is when the user enters a null value in a cell I want the program to catch the null cell and alert the user, then focus back to the cell for editing. The SQL database doesnt allow null values in the columns, but I have had trouble trying to catch the null values. It doesnt throw an error if the cells are left empty or " ", so here it what I did; Private Sub DataGridView1_CellLeave(ByVal sender As ...Show All

  • Visual Studio Express Editions VB PowerPack BlendPanel question

    Hi ... I am using a BlendPanel control from the free vbPowerPack library on a form in my application. When I compile the application, it runs as expected. If I copy the exe file to another PC & run the app, I get the " MyApp has encountered a problem and needs to close. We are sorry for the inconvenience " error message. So I tried copying the exe to another folder on my local PC & I get the same error when I run it. It runs just fine if I run it from the ...bin\release\ folder, but not anywhere else. I suspect that it has to do with the BlendPanel component, as that is not native to VB2005. So what do I have to do to make this app runnable on any PC Do I have to embed the DLL file in my project somehow If so, how do I ...Show All

  • Visual Studio Express Editions First Time Using C++

    Hello, Does Visual C++ has an auto complete functionality I am used to VB that has autocomplete, for instance i type "my.list" and then it pops up with a window and i can easily pick which listbox i want. Also if anyone knows where some good online tutorials are for VC++ Thanks, Crazyoldman ...Show All

  • Visual Studio Express Editions stupid questoin about bitmaps

    I have just begun to use Visual basic recently, and I want to create a picture. I don't want to use picture boxes(they start to lag after alot of them have been placed on the form) I know that you can use bitmaps, but all the different methods I have tried to use have ended with a blue squigly line under part of the code. I would like the code to load one of theese bitmaps, via... Public(or private, whichever works)sub form1_load <insert whatever code is needed> End sub if possible. Thank you very much in advance! You don't need a PictureBox control to display a picture on form, you can paint it directly for an absolute minimum of overhead. Here's some simple code to get sta ...Show All

  • SQL Server Got BIDS working, was there another way?

    i re-installed the SQLEXPR_TOOLKIT.EXE several times(4) trying to get the BIDS part to work. Each time i had the issue of it looking for the devenev.exe as others have mentioned. I gave up on a 5th install and went for the unsupported option of running vs_setup , after the toolkit.exe dumped all the install files to its temporary directory i went in there and ran it sperately... but essentially i did it the same way as this method... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=368549&SiteID=1 while this did work, it seems to be the unsupported way. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=665067&SiteID=1 Im not opposed to going back and doing it right, but was there ever a conclusion as to why the BIDS prog ...Show All

  • Software Development for Windows Vista Displaying and setting activitybind from code in XOML workflow

    Dear all, I'm working on a simple re-hosted designer that can display and edit xoml workflows. At this point i'd like to show on my property editor panel the delay2 TimeoutDuration property's acitivitybind, from my xoml it's "delay1,Path=TimeoutDuratin" . I don't want to use propertygrid or propertygrid descendant, it will be a simple label or something else. Next step is how to set activitybind from code, like setting an activitybind for delay1's TimeoutDuration property. I don't want to use VS activitybind dialog this time. <SequentialWorkflowActivity x:Name="Workflow1" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"> < ...Show All

  • Visual C++ Smartbridge Alerts

    I too am receiving the "entry point not found" message. I have very little technical knowledge and would appreciate assistance in any fashion. thanks. Helen McLaughlin I was getting the same error message after I installed IE7. The above link gave a fix which worked. The only difficulty I had was in finding the correct file. I did a search for Smartbridge from the Start menu in Windows and it pointed me to some program files to do with my ISP. Did as link said and all now works ok. Many thanks, Andy. ...Show All

  • Visual C++ Where is this said "fulfillment site"?

    "The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported." OK, sounds good ... how about a link to it, Bill!! Can someone please post a link to this "order a CD of February 2003 Edition of the Platform SDK for Visual C++ 6.0 fulfillment site" Many Thanks in Advance! Robert Hello Sorry my answer annoyed you; this forum deals with VC++ 2005 questions/issues only. There are newsgroups that deal with questions for previous versions – sorry if the scope of this forum was not clear enough when you initially posted. Thanks Damien -- PS ...Show All

  • Visual C++ Compiler bug?

    // Compiler Bug Example.cpp -- produces incorrect output in Visual Studio 2003 and 2005 for me // clay.s.douglass_at_intel com // #include <iostream> using namespace std; #include <conio.h> class VAddr { public : unsigned structure:5; unsigned offset:29; }; typedef union { struct { unsigned cmd:2; // 0 = write, 1 = read, 2-3 reserved unsigned reqId:5; unsigned lenCode:2; // 1 = 8 bytes, 2 = 16 bytes, 3 = 32 bytes, 0 = reserved; VAddr va; }; unsigned long long ll; } MemCmd; typedef struct { unsigned reqId:5; unsigned long long data; } MemData; int main() { //int i=0; MemCmd writeCmd = {1,2,3, ...Show All

  • Visual Basic Error in Connection String

    Dear All, I'm getting error with the following code. can anyone shortout the problem please. Your help is highly appreciated. Code: and calling procedure of this function as Code: Private Sub PopulateProductData() Dim ProdID As Integer = CInt(txtProdID.Text) Try Dim ProductData As TechManagement.DBComponents.ProductDB = New TechManagement.DBComponents.ProductDB Dim myProductDetails As TechManagement.DBComponents.ProductsDetails = ProductData.GetProductDetails(ProdID) txtProdName.Text = myProductDetails.ProductName MsgBox(myProductDetails.ProductName) Catch e As OleDbException MsgBox(e.Message) End Try End Sub Public Function GetProductDetails(ByVal productID As Integer) As ProductsDetails ' Create ...Show All

  • SQL Server duration of the ssis package

    i want to get the execution duration of the ssis package and insert into one table,so i used a variable--"duration" and specified it's expression is getdate(). I think that only i can get the start value of the varible and the finish value,then i can know the duration.but whether i can get these two values or better way i should try thanks problem solved, i aslo want to record execution metadata using a custom table and send dailyalert to me everyday another question,i failed in database mail and followed all troubleshooting from msdn,but still doesn't work any ideas about that Thanks a lot andrew ...Show All

  • Visual Studio Express Editions Matrix implementation problem

    Hi everyone, I am implementing a matrix program which create matrix according to the values on a file and write to or read from files the values of the matrix. However, since I am not able to compile my program, I would like to ask you that whether my class si logically correct and whether it gives a compile time error or not. If there is unexpeted situations in my code, would you please help e to fix them class SymmetricMatrix { public: int index1; int index2; int **matrices; /* * Constructor that initializes an empty matrix with a given size. */ SymmetricMatrix(const int matrixSize){ size = matrixSize; matrices = new int*[size]; for(int a = 0; a < size; a++) matrices = new int[size]; // assigni ...Show All

  • Visual C++ How to replace the MFC icon at mainframe with a custon icon

    Hi, I'd like to know how to change the MFC default icon with a custom one in the mainframe of a MFC program, as well, the icon in the exe file name. Please help. Thanks. Jason Zhang Thanks for the reply. I did draw a new icon with the resource editor and it only works with the Help dialog not the mainframe. That's the 32x32 pixel one, but I can't find the small template to edit. Is that the reason that it doesn't work with the mainframe and the application exacutable name icon Thanks. Jason ...Show All

©2008 Software Development Network