Direct3D / Windows Mobile - Lighting / Shading - Mesh Appears Flat?

Mar 20, 2010

Im currently working my way through understanding direct3D with visual basic for windows mobile. So far I have managed to write a fairly decent engine that allows me to create and transform any number of 3D primitives and 2D sprites. However I cant seem to figure out how to get Direct3D to apply any sort of shading to my meshes. Regardless of what angle they are to the camera, or their position in 3D space, they remain a solid flat color on every single polygon of the mesh.

[Code]...

View 3 Replies


ADVERTISEMENT

VS 2010 - Mesh Viewer - Show A Generic Mesh And Texture ?

Jan 26, 2012

I am creating a script editor in vb for a game engine and all is fine with the editor, I just cannot for the life of me get a mesh viewer working. If you are familiar with Unity3d Editor, it has a small 3d viewport that simple shows the mesh associated with the asset script being created where you can click drag rotate the mesh to have a look at it with the selected textures applied.

I have spent many hours digging through msdn trying to figure out how to do this. All samples I find are done in c# none in vb. I have even used code converters with no luck. Bot sure what sdk(s) to use either. How to do it as in setting up a project that has a basid 3D viewport that will also applie selected textures to the mesh? Even if it is hard coded to show a generic mesh and texture, It should be enough for me to grasp how to set it up.

View 1 Replies

Windows 7 Can't Find DirectX9 Microsoft.DirectX.Direct3D.dll?

Apr 9, 2009

this error seems to be an error on Microsoft's part with Windows 7 and DirectX9. DirectX11 on Windows 7 should be able to run DirectX9, but it says it can't find the assembly called "Microsoft.DirectX.Direct3D.dll". I know for a fact that he can play Assasins Creed on Windows 7 which uses DirectX9.. Why does that game work but not my application? I'm using VB.NET btw.

[Code].....

View 6 Replies

Create A Mobile Application For Windows Mobile?

Nov 12, 2009

I would like to create a mobile application for Windows Mobile, how can this be done? I have Visual Basic Express edition.

View 4 Replies

Generating Flat File Using Windows CE?

Mar 9, 2012

I need to generate a flat file from my scanner MC9090 or MC9060 to my computer.

View 1 Replies

C# - Gradually Increase System Volume On Windows Mobile / Windows CE 6.0

Jun 19, 2012

I'm attempting to use waveOutSetVolume from coredll.dll to gradually increase the audio volume from silent (or near silent) to maximum.

Most of the code examples I'm finding show some predefined set points for Off, Low, Normal, Medium, High, and Very High like this:

Public Enum Volumes As Integer
OFF = 0
LOW = 858993459

[Code]....

OK, and here's some API documentation which doesn't make a lot of sense to me in this particular context. What is low-order word and high-order word and how can they both exist in a single value?

· dwVolume New volume setting. The low-order word contains the left-channel volume setting, and the high-order word contains the right-channel setting. A value of 0xFFFF represents full volume, and a value of 0x0000 is silence. If a device does not support both left and right volume control, the low-order word of dwVolume specifies the volume level, and the high-order word is ignored.

View 1 Replies

C# - Windows Form + Database (Sql Server)+ Windows Mobile Application?

Mar 17, 2011

i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.

View 2 Replies

Move A Windows Form App To A Windows Mobile 5 Device

Aug 23, 2009

I'm trying to move a windows form app to a windows mobile 5 device and I was able to get every thing working except this piece of code.

[Code]...

View 2 Replies

TCP Windows Mobile 6.1?

Mar 11, 2010

I am trying to make a program for my Windows Mobile 6.1 Professional Device that communicates via TCP/WiFi To my pc, however, on my windows mobile device, when i launch a program with an import [system.net] it keeps giving me an error, and it is unable to launch the program. Is there an update that i am missing? or am i missing a package in win mobile with the system.net resources?

View 1 Replies

C# - Sending SMS From Windows Mobile

Feb 5, 2011

This is the question asked at many places but I could not find any satisfying answer so asking it in stackoverflow. Hope I will get answer soon. I need to make an Windows Application (VC++/C#/VB.NET) which can send SMS using windows mobile which is connected through ActiveSync or Device center without GSM Modem.

View 1 Replies

VS 2008 .NET App For Windows Mobile 6.1?

Oct 14, 2011

I need to write an app for Windows Mobile 6.1 as a winform. I've been doing asp.net pages to run on them before. When I create a project in VS2008, do I select Smart Device? Or Windows and do a basic app to run on it? If I select Smart Device, it asks for the Target platform and I only have:

Pocket PC 2003
Windows CE
Mobile 5.0 Pocket PC SDK
Mobile 5.0 Smartphone SDK

I need to connect to my AS400.

View 1 Replies

How To Make Lighting Effects

Jun 10, 2010

Is it possible to make simple but good looking lighting effects? I would give a pic but i dont know how. So anyway all i want it to do is light up a object but not have like a square or anything just a lit up area.

View 1 Replies

Connecting To Network With Windows Mobile?

Nov 10, 2009

Im able to access the internet on my Phone. I made a small app that lets me get to my database hosted by Godaddy. The problem is, unless I have my phone plugged into my computer it says Im not connected to the network. I can show my code if needed, but that has nothing to do with it because the application works fine as long as its hooked to my computer. Any idea on establishing a connection I guess? Im not sure why its not since Im able to access the internet, Im not sure why connecting to the computer makes it work.

View 1 Replies

Email A File Off Windows Mobile?

Aug 7, 2009

I am trying to email a file off my windows mobile. I know there is a mobile section here, but the traffic is minimal. Trying to use the current profile (exchange/activesync) to send the mail.

Imports Microsoft.WindowsMobile.PocketOutlook
Public Class tools
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]...

View 4 Replies

SMSAccount Class On Windows Mobile 6.1?

Jan 5, 2010

I'm writing an application for a Windows Mobile phone in VB.Net, and I would like to read SMSs from the phone's memory. According to MSDN, the SMSAccount class is what I need:

'SmsAccount Class
'Provides access to a Outlook Mobile Short Message Service (SMS) account, the account's SMS folders, and the SMS messages they contain.

However, the SMSAccount Class only has one interesting method, aka Send (see [URL], and I can't figure out how to access the actual messages.

I've found examples on the web which suggest to use the smsAccount.Inbox property, which I can't manage to find. I got this code for example :

Dim smsAcc As SmsAccount
Dim smsFdr As SmsMessageFolder
smsFdr = smsAcc.Inbox

But I cant find either of the SmsMessageFolder class and the Inbox property.

How do I access smss?

View 2 Replies

VS 2008 Access Db On Windows Mobile?

Feb 6, 2012

Is it possible to use Microsoft Access Database (.mdb) in windows mobile software development?

View 2 Replies

Windows Mobile - .net For Handheld Device?

Apr 29, 2010

I want to develop an application in VB.net for handheld device(Ticket machine in Bus and train).Is it possible to develop in Vb net. Whether i need windows OS in my handheld device or any runtime environment only needed.My hardware is ARM processor.I want to run my application as standalone in my machine.

View 2 Replies

Asp.net - Shading Every Other Row In A Listview?

Sep 14, 2011

I have been Googling this for about a day now, and every post I find is too old and Visual Studio doesn't recognize some pieces of code that people have posted. I have a dynamically populated Listview. I would really like every other line to be shaded for readability purposes, and just can't figure it out. Everything I try to do messes with the Modal PopupExtender that I have inside of the Listview. It trys to shade the lines inside the PopUpBox too. This is one of the Listviews that I would like shaded.

[Code]....

View 1 Replies

.net - Disable The Start Menu In Windows Mobile 6.1?

Sep 20, 2010

how can I disable the start menu! Or completely shut down the entire "explorer" in Windows Windows Mobile 6.1, so that users can not go out of my program.I have try [URL], but then Windows Mobile 6.1 hang.

View 2 Replies

.net Application To Run On Desktop + Windows Mobile 6 - Which Database To Use?

May 20, 2012

i would like to build an inventory manager application that would have two versions :1. Would run on the desktop 2. Would run on windows mobile 6 I would like to have both these versions store and read data from a database that can be stored centrally either on a webserver or somewhere on the LAN.

I would like to know can i use Access as my backend database or sql server ? will windows mobile app be able to access it and read and write to it Note : I would prefer to create only one database that will just store the details in the tables and do not need any other functionality. All functions such as save,edit,delete,search,filter etc with be done from the FRONT-END VB.NET interface ONLY If you suggestion involves the use of 2 databases such as one for desktop version and one for windows mobile then please also tell me how would i sync the data between them.

View 1 Replies

Communications :: Deploying To Windows Mobile Device

May 23, 2011

I am using visual studio 2008 professional.i am trying to deploy a simple hello world application to a hand held device.

i currently have the device connected via usb, i can run the app through vb and it deploys and runs on the device however i don't know how to create the install and install it on the device so it can run independent.

View 1 Replies

Detect When PDA (Windows Mobile) Is In Flight Mode

Aug 1, 2011

I need to produce an error display message when the Windows Mobile PDA is in flight mode. The user will need to pull and push data from a SQL Server server; however when in flight mode this is not doable and a message needs to be displayed. Currently the message that is displayed is:

A request to send information the the computer using IIS has failed. For more results please see HRESULT.

I am programming using VB.Net and I am fairly new to it. I have searched for the past week on the Internet and come across information suggesting that I use TAPI, however I do not know what to import, or where the "flight mode detection" code would go in my application.

View 1 Replies

How To Play Sound In Windows Mobile Forms

Mar 19, 2010

I am new to programming I just started using visual basic to make windows mobile 6.5 apps. I have searched everywhere but I just cant find out how to play a sound file (.wav). I need the code to play the sound when the user clicks a button (or picturebox, I really don't mind either one).

View 14 Replies

IDE :: Windows Mobile 6 SDK With VS2008 Standard Edition

Jun 1, 2009

I have just purchased VS2008 SE to run on my PC with VS2005 SE. I have been developing a WM6 application using the VS2008 PE trial, the trial period has now ended, hence the purchase of VS2008 SE (full not upgrade). As a private user for hobby purposes I can not afford VS2008 PE. I am astonished to learn that in actual fact VS2008 SE is a step back from VS2005 SE in that the WM6 SDK's on not supported. I have read the below thread: url...I am also annoyed that on the WM6 SDK refresh download page it states clearly that VS2005 SE or higher must be used - hence the purchase of VS 2008 SE.As I have installed on my PC a full version of VS2005 SE and VS2008 SE, is there a way to develop WM6 devices with the tools I have or is VS2008 PE the only solution.

View 3 Replies

IDE :: Windows Mobile 6 SDK With VS2008 Standard Edition?

Oct 3, 2009

IDE :: Windows Mobile 6 SDK with VS2008 Standard Edition

View 9 Replies

Kill A Process 2008 Windows Mobile?

Mar 27, 2010

I have VB.net 2008 with 3.5. I also have Windows Mobile 6 SDK and 6.5 SDK. I am having an issue killing an external process with my app. I have searched and tried numerous bits of code and none seem to work for Mobile. I keep seeing GetProcessByName but that is not an option for Windows Mobile. I know the process exe but the PID changes so I cannot hard code that.

View 6 Replies

Run Visual Basic Or C# Applications On Windows Mobile 6.5?

Jul 12, 2010

i want to buy a phone thats running on windows mobile 6.5 (htc touch2) and i want to run visual basic applications on it. i don't know how i can run them , is it possible ? ive started to learn c# to. Is it possible to run applications made in visual basic or c# ? if i can , how do i run them

if i can't what phone should i use ( android driven phone maybe?)

View 2 Replies

Using My.Resources In Visual Studio (Windows Mobile)

Jun 10, 2012

In VB (Visual Studio 2010) i have written a simple coin flip routine and use the code below to display the image of the coin based on a random number 0 or 1

coin = Rnd(1) 'random head or tail head=1 tail = 0
'display relevant image of coin
If coin = 0 Then

[Code]....

but can't seem to find a way to display the appropriate image. Is My.Resources not available in the Windows Mobile SDK or is there a different method.

View 1 Replies

VS 2008 Detecting A Windows Mobile Device

Nov 25, 2011

Im new to programming.I work for a research in Sri Lanka.In our research data is collected on windows mobile devices.I am the person who connects the devices(Known as JUNOs) and copy the data to the hard drive.But when Im not around others should copy the data.But they havent got IT knowledge.I want to create a simple software which detects the JUNOs when connected,show a message that a device is connected(Ex : JUNO1 is now connected),and then a button to copy and paste data to hard disk.(Ex: Press copy button to copy data)

View 4 Replies

Windows Mobile - Compact Framework And Saving XML?

Jun 23, 2009

I am writing my first windows ce app. I am using an xml file (app.Config) to store state data... basically user preferences on the last location (connection string) that the person was using before closing the app. I am having trouble understanding what is happening on deploy. It looks like it is copying my xml file to the debug folder on deploy. My problem is, when I save the xml file it is not saving in my project. Is there another folder in which the emulator resides that contains all of the state data and possibly the file that I am writing out? I am saving the doc to the same filepath as I am reading in but it does not actually save or throw error or anything.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved