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

Software Development Network >> 3d_developer's Q&A profile

3d_developer

Member List

Krutika
prk
WingingIT
Matt525
Alastair Q
Helen999888
Angelo_f
swaroop.m
donkaiser
Hamez
sy_mbm
Jon Braganza
Patrik Olsson
Andy Wilbourn
rnv
Attila Fogel
GregRoberts
Volksman
70Hours
Adi Kremer
Only Title

3d_developer's Q&A profile

  • Visual Basic Error on export to Excel

    When I try to change data in Series object I got next error Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH)) Please Help! Dim oExcel As Object Dim oBook As Object Dim oSheet As Object Dim oldCI As System.Globalization.CultureInfo = _ System.Threading.Thread.CurrentThread.CurrentCulture System.Threading.Thread.CurrentThread.CurrentCulture = _ New System.Globalization.CultureInfo("en-US") 'Start a new workbook in Excel. oExcel = CreateObject("Excel.Application") oBook = oExcel.Workbooks.Add 'Add data to cells of the first worksheet in the new workbook. oSheet = oBook.Worksheets(1) Dim i As Integer For i = 1 To 5 o ...Show All

  • Visual Basic How to develop divided interface to show 3 forms

    Previously my program in VB6.0, i am using Activex Dockit to divide the Mdi Form interface into 3 parts. meaning that- left frame, center frame, and right frame. But after migrating to vb.net, the AX Dockit is not compatible with vb.net anymore. So there any way to have the same interface in VB.NET without Dockit Leo Ng wrote: Yes, it is possible to load the form to right or left panel Hi Leo, Yes, you can put a Form into a Panel. I found this example on the MSDN forums... Private Sub LoadForm( ByVal oForm As Form, ByVal Title As String ) 'Change the Caption Text = System.Windows.Forms.Application.ProductName + " " + Title 'Set the form up for display With oForm .TopLe ...Show All

  • Visual Basic No Text Display Bug?/Feature?/Error?

    I have two somewhat related questions: 1. Why when I have a msgbox(...) call, do I see messageboxes sized correctly to fit the text I want, but not actually see any text 2. Why when I dynamically add objects to a combobox (and supply a .tostring method on the object) do I see the text for whatever selected item I choose, but all of the remaining choices are shown blank (correct number and highlitable) with no text I know my code is generating the correct string prior to showing the msgbox and adding the item to the .items collection of the control. My code looks exactly like the code shown in the MSDN examples. Any help would be very useful. Are you by any chnace using mcafee antivirus on ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Game Launcher On Marketplace!

    I noticed that the XNA Launcher is available from the XBOX Live Marketplace, however, when will the full release of XNA GSE be out It's public: http://www.microsoft.com/downloads/details.aspx FamilyID=A73A7E71-FF41-432D-A0EB-043E904A1905&displaylang=en ...Show All

  • .NET Development Call client's object method/property from remote object

    Here's the scenario: - a client apps (client.exe) and a server apps (server.exe) which will run on separate AppDomain - the server host a WellKnownServiceType called MyServerObject using SingleCall mode. - the client have an instance of MyClientObject (reside on client's AppDomain) - then, the client will remotely call MyServerObject.SomeMethod() The question: - How I can modify some value inside MyClientObject (which reside on client's AppDomain) from MyServerObject which reside on the server's AppDomain I tried to pass MyClientObject as a parameter to the MyServerObject.SomeMethod(MyClientObject obj), but it don't seems to work either. Here's the code snippet (simplified version): server.exe: ChannelServices.Regist ...Show All

  • Windows Forms C#: Master/Detail

    Hello, I have a Master/Detail relationship in a Windows form Application. My Master table in shown in a DataGridView, but my Detail table is shown in a bunch of TextBoxes. I have the following codes to save the changes in the Master and Detail Tables when users press the save button: Validate(); MasterTable_BindingSourse.EndEdit(); CustomerDataSet.GetChanges(); MasterTable_TableAdapter.Update(this.MyDataSet.MasterTable); DetailTable_BindingSourse.EndEdit(); DetailTable_TableAdapter.Update(this.MyDataSet.DetailTable); My problem is that when users change the records in the Detail table under different Master records and then press that save button, it updates all Master Table records that have been changed but it just updates th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using Loaded Model With Custom Effect

    I have loaded a simple sphere into my game using the standard content.Load<Model> approach. I also have an effect that I loaded using content.Load<Effect>. How can I render my model with this effect as opposed to the effects built into the model without having to write a content processor Well I know that you can attach an effect to an existing model and render with it successfully using the method I gave you because I've done it. Therefore my only conclusion is that you are not assigning an appropriate value to one or more shader parameters or matrices. Since I have not studied this backdrop shader or some of the classes you are using (like GameWorldService, presumably a SpaceWar custom class) ...Show All

  • Visual C++ reinterpret_cast

    Hi agian! I have this code now, I was using ifstream, but it was well over my head, didn't understand it. But what I'd like to do with this code is get the buf to read in 64 bits (8bytes), which is does. But I would like to output the decmial value of that interger. However it seem just to but the 8 bytes back into the txt file. How do I get it to print of the number from the buffer the interger being displayed by value Oneline, is not correct. I can't figure out what it is doing Eventually I'll get this program to read in a whole file, I was thinking of 8byte at a time, and print it off to a file. Using a while(!eof) statement, please would you let me know if that's not possible   #include <stdio.h> ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need help with game screenshots

    I just created a demo of pong and i put it on threesixbox.com, but I want to have a screenshot of my game so people can see what it looks like before they download it. I really don't know how to do it, and I was wondering if anyone know. Thanks. A simple method is to just use the print screen button on your keyboard and then paste it into MS Paint, and then save as a file. Or, an XNA method is to do: Texture2D ss = new Texture2D (graphics.GraphicsDevice, graphics.GraphicsDevice.DisplayMode.Width, graphics.GraphicsDevice.DisplayMode.Height, 1, ResourceUsage .ResolveTarget, graphics.GraphicsDevice.DisplayMode.Format, ResourceManagementMode .Manual); graphics.GraphicsDevice.Resolve ...Show All

  • Visual C# [URGENT] Distance between two postcodes

    Hi all, We have a kind of urgent issue here. We are about to commence development on an application that is to perform calculations based on the distance by road between two postcodes. We were going to use a certain web service provider for this but they have come back saying that they do not support the volume of queries that our application is going to make (potentially 40000 per month). My question is do any of you guys know of any software or web services that we can interface with to query the distance between two postcodes by road, bearing in mind that this is a UK based operation and reasonable performance is a must. Thanks in advance, Stephen. http://www.google.com/apis/maps/ Unfo ...Show All

  • Visual Basic How to process Large Binary Files

    I'm trying to read Test.bin but I keep getting out-of-memory error The file size is >300MB. I can read smaller files well - but large files are a problem. Anyone has a good snippet fileContents = My .Computer.FileSystem.ReadAllBytes( "C:\Test.bin" ) Thanks. Thanks... I tried it but it was very, very slow. Perhaps I need to read and write in blocks instead of bytes. ...Show All

  • Smart Device Development creating cab files

    Hi i am creating a cab file to install a program written in visual basic.net onto a pocket pc. The program was written in visual studio 2005. The project that creates a cab file uses cf version2 and my pocket pc although capable of windows ce 2003 has the earlier version. According to the help file my program will still run on my ppc but i may need to create my cab file using cf1 dll's. My question is how do i do this. I have tried opening the smartdevice cab file project and adding all the dll's but when i click on the project output choice on the right click menu all the v2 dll's are included. any ideas I'm afraid it's not that easy as adding some files into CAB, in fact it has nothing to do with CAB. NETCF V2 application wil ...Show All

  • Visual C# Interfaces oversold???

    First, I must admit that I am a C# novice and so I probably don’t have as much knowledge and experience on the subject of interface as most of you guys reading this post. After reading a few books on C# and interface design, I still can’t see and understand the real power of interface unless of course, we are talking about interfaces as a powerful concept in OOP ‘only’ and not as a powerful concept in the general sense. When I was first learning OOP I was quite suspicious about the ‘excellent features’ that OOP claims to be able to deliver to the world and I was right. For example, in reality OOP offers very little if any, code reuse. I am now having the same suspicion about interfaces even though I see a lot nice words used to d ...Show All

  • Windows Forms how to increase row height of listview

    hi, In a listview can we change the height of row Actually i am having a listview having 2 column.. if the data in database is larger then the width specified then that data should appear on the another line... so can we manage row height dynamically... all helps will be appreciated... thnx in advance... The height of a listview item is entirely controlled by the listview's Font property. You can't have multiple lines in an item unless you use custom drawing with OwnerDraw/DrawItem. Using a font half the size of the listview's Font in DrawItem gives you enough space for two lines. You can't adjust the height for each individual item. Consider a commercial grid control if you can't li ...Show All

  • .NET Development Framework 2.0

    I updated my system using the 2.0 framework downloads and I am having problems.  I tried to use some of the new library classes such as System.IO.Ports and they do not show up in the IDE or in the help files of my VS.NET.  I checked in my Program Files and it is there along with the documentation but I tried to use some of the new methods and just recieved errors.  Any suggestions   Thanks.  Dustin I am also having problems with the system.io.ports namespace. When I am trying to compile my little serial com port reader I get this message: The type or namespace name 'Ports' does not exist in the namespace 'System.IO' (are you missing an assembly reference ) I am using Visu ...Show All

©2008 Software Development Network