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

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

redneon

Member List

iamdon
Santino Lamberti
ernieracer
Kunk
Sathish Alagirisamy
vagrant
dagfari
colin leversuch-roberts
ronnie2002c2c
Chris Marts
Thomaschr
Sam Erlenbach
Maxbaviaan
JavaBoy
MHGameWork
ron nash
Knvb1123
ratjetoes
Fei-tian
Ronaldlee Ejalu
Only Title

redneon's Q&A profile

  • Smart Device Development Create and Print PDF document

    I have a Vodafone v1640 (also called I-mate jasjar). I've written a program to create a PDF file. How can I print the a PDF file from my c# application On the pocket is installed a ClearVue PDF but it doesn't print file, only view. I've tried to install the Acrobat Reader but it doesn't start. I supposed it isn't for Window Mobile 5. Thanks Hi Michele, I am Prashanth. I too is having the problem what you are facing. In your mail u have mentioned, that u have created the pdf file by c# programming in asp.net. Can you please give me tips in creating the pdf file on fly. looking for the reply..... Thank you in advance. please mail me to prashanthganathe@gmail.com Regards, Prashanth ...Show All

  • Visual C# finding file size

    hi I need to know the size of the file which I am going to read with a stream. but I can not find any way to have the size of the file. regards you can use the FileInfo Class to get the file size. the length property return the size of the file.   FileInfo f = new FileInfo("File Path"); f.Length <- return the size of the file. ...Show All

  • Windows Forms DataGridView wont show new entry..until i run it again

    Guys..i'm new here...and new with VB2005..im having this problem..that my datagridview wont show the new entry(i have a reg page) until i rerun the program...can anyone please look it up..tnx very much..could really use some help.. Form1.vb: Imports System.Data.OleDb Public Class Form1 Private AccountsDataSource As New BindingSource(My.Application.DAL.dbDataService, "Accounts") Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.dg.DataSource = Me.AccountsDataSource End Sub Private Sub dg_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dg.CellContentClick End Sub Private Sub Fill_Click(ByVal s ...Show All

  • Visual C++ syslistview32

    I'm trying to get the data from a syslistview32 subitems someone sent me a project but i'm lost #include "stdafx.h" #include "Commctrl.h" struct strng { char lpText[255]; }; #pragma data_seg ( ".shared" ) HWND _hTarget = 0; HHOOK hook=0; int lpAddrArray[500] = {0}; strng lpStrng[500] = {0}; int lvCount = 0; #pragma data_seg () LVITEM *lvItem; char lpText[255]; HINSTANCE hInst; bool flag = true ;; __declspec ( dllexport ) LPCSTR _stdcall getItemText( int index) { return (LPCSTR)lpStrng[index].lpText; //char * lp = lpStrng[index].lpText; //return (int)lp; } __declspec ( dllexport ) ...Show All

  • Smart Device Development Sounds with C#.NET CF

    Hi, I'm trying to add some sounds for a Pocket PC C#.NET program. But after searching during long hours I still can't play some waves when a click in a button or something like that... I really need for some help... Someone can help me ! But that didn't work either... i.e. to change action type to content ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Playing WMV files using DirectX or Windows Media ActiveX in VB

    I am trying to make a video player in VB. Originally I was using Windows Media ActiveX to play the videos. When the videos would play the sound would play but there would be no video. I decided to use DirectX to play the videos in hope I would not have this problem. I found a artical online that explaned how to use DirectX to play AVI files. the artical is at: http://www.c-sharpcorner.com/UploadFile/mgold/PlayingVideo11242005002218AM/PlayingVideo.aspx . A thou the code is in C# i was able to adapt it to my needs. i made the conversion to DirectX, ran the program and i got the sae problem. Incase the problem was b ecause i was playing a WMV instead of an AVI i tryed using an AVI file. I still got the same problem. I would post code here b ...Show All

  • Visual Studio DSL Element (concept) - Propriety Validation

    Hi, I wanna put a restriction on some propertys of my DSL Elements, i.e: string field with 3 chars; string field limited to 50 chars, ... How can I make this validation I really appreciate your help D Hi, W.Jansoone is right, there are a few ways to implement this kind of behaviour. One of the things that might influence your decisions for choosing one of the options is the user experience you want to expose in your DSL. For example, when you implement your validation in an "validation method" the validation is not evaluated untill the user hits the "validate" command on the diagram. So, the user can finish his model, validate it and correct any errors that might be in i ...Show All

  • Visual C++ BUG: Potential Memory Leak generated by STL deque

    BUG: Potential Memory Leak generated by STL deque. FIX: Add a little code and it will work pretty well. I submitted the problem about 4 years ago, but VC++ SP5 still has the bug. ISSUE: STL map and STL set are not ready to be exported from DLL. FIX: Modification must be made. Yes, I would like to know as well. Where can I find information about the STL implemention in Visual Studio I am also finding Rational Purify is reporting memory leaks in vectors and maps. Am I using it wrong and there is a way to get rid of the leak Or I have to wait until Microsoft issues updates for the problems Jonathan Scott ...Show All

  • Visual Studio svchost.exe- Application Error

    When booting up, during the log on screen, I get the following error message; svchost.exe- Application Error X- The instruction at"0x7c918fea" refferenced memory at "0x00000010". The memory could not be "written". Click on OK to terminate the program. Click on cancel to debug. I have tried many times both options but nothing helps. Does anyone have any thoughts on the subject how to fix this Forum: Visual Studio Debugger Posted: : Sunday, October 22, 2006 11:10 AM Post Subject: : svchost.exe- Application Error dube_1969 wrote: When booting up, during the log on screen, I get the following error message; svchost.exe- App ...Show All

  • Visual C# Changing EMail Headers

    Hi, This may sound strange but bare with me! I won't go into too many details but I'm sending emails to a particular system (using MailMessage and SmtpClient objects) that requires the subject header of the email to begin with a capital 'S'. So, for example, in the email header I want: Subject: This is a test body: blah blah ..... Instead of : subject: This is a test body: This is a test ..... When I add a header to the message myself (Message.Headers.Add("Subject")) it automatically converts the header name to lower case. Is there any way to keep the header case sensitive Thanks Hi, Thanks for the response. It looks like I will have to go ahead and use a different implementation to send the emails. Just wondering if anyo ...Show All

  • Community Chat Zune and the iPod

    I've been following the Zune announcements fairly closely here at work. If you follow my blog, you'll see that I'm pretty passionate about media technologies, and recently went through the pain of migrating away from iPod/iTunes and onto Yahoo Music/Gigabeat S (Portable Media Center). Here the blog category where I talk about it: http://blogs.msdn.com/joemorel/archive/category/13772.aspx Now Zune is in the mix. It looks pretty neat, but I'm not sure if people are really going to go for the whole WiFi thing. I'm just not sure that I want to listen to the same music as the person sitting next to me on the bus. What do you think Not that it answers the question of availability, but there are EB Games and Gamestops in the US.&n ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Best coding practises with ContentManager and GraphicsDeviceManager ?

    I hope someone can give me a decent explanation of this as it's something which I would of thought is pretty essential to writing anything in GSE but makes no mention of it in the documentation. I'm trying to understand the best way for any game elements to access the main games graphics and device, these need to be written in a way that I can give this routine to someone else and they work without the other person having to hard code aynthing in the code I give them. I believe there may of been a more obvious way to do this in beta 1 but I picked things up from beta 2 so some of the examples and documentation is referencing things which have since been taking out. My main confusion comes from the differences in the Windows Game and Spacew ...Show All

  • SQL Server Error Creating DSN using odbcconf.exe for SQL Server

    hi there i want to create a DSN using command line arguments,with Trusted connection=no, Login name= sa password=******* i try creating like this C:\>odbcconf.exe /a {CONFIGSYSDSN "SQL Server" "DSN=blabla|Description=blablubb|SERVER=vsnet1|Trusted_Connection=no |Database=dm"} this work fine, but when i specify the login id & password as C:\>odbcconf.exe /a {CONFIGSYSDSN "SQL Server" "DSN=blabla|Description=blablubb|SERVER=vsnet1|Trusted_Connection=no|loginid=sa|password=sysadm|Database=dm"} this throws an error as CONFIGSYSDSN: Unable to create a data source for the 'SQL Server' Driver: Invalid keyword-value pair with error code :2147467259 I too try the loginID, ...Show All

  • Software Development for Windows Vista Transaction Scope with datatable updates

    I have a VB windows app using a dataset with multiple datatables and a datagridview for the UI. Okay. I have the datatable. updates and inserts and deletes working. Now, I just want to wrap the calls to the different table updates/inserts/deletes in a single transaction so I can manage the errors and roll it all back. Is TransactionScope an option for me Using .net 2.0, VB 2005, ... I tried to add the System.transaction but it doesn't seem to know it. "Imports System.Transactions" ... does not load or find it. Is this just a stupid syntax or basic know-how that I'm missing I see SQLClient.SQLTransaction and I found an article that says I need to create a new transaction, ... it used OleDbTransaction = cn.BeginTran ...Show All

  • SQL Server Question about rebuild index

    Hi, Here is the result of T-SQL statement,"ALTER INDEX ALL ON MyDB.dbo.MyTable REBUILD;". ---------------------------------------- 5 130099504 1 1 CLUSTERED INDEX IN_ROW_DATA 3 0 99.7014211714703 5 130099504 1 1 CLUSTERED INDEX IN_ROW_DATA 3 1 100 5 130099504 1 1 CLUSTERED INDEX IN_ROW_DATA 3 2 0 ---------------------------------------- The column of the blue is 'index_level' and the red is avg_fragmentation_in_percent. If I issue 'alter index ... rebuild', only changed the first record's(index_level 0 ) avg_fragmentation_in_percent value. And the data file size is grow. Is it normal or has problem ...Show All

©2008 Software Development Network