Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Shaahinm

@Shaahinm
About
Posts
28
Topics
18
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • jTable
    S Shaahinm

    hi, I have a database which has 2 tables, Employees and Foods I want to show their data in a jTable, since i'm new to JAVA, I used binding. (Table Content -> Bound -> import Data From ...) it works fine and perfect for Employees, but when i try to do the same to Foods it gives me a long long error, I'll just copy a few lines of error at the end. so if any one knows where is my problem please tell me :D

    Exception in thread "AWT-EventQueue-0" javax.persistence.PersistenceException: No Persistence provider for EntityManager named MainRestaurantDBPU: Provider named oracle.toplink.essentials.PersistenceProvider threw unexpected exception at create EntityManagerFactory:
    oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Local Exception Stack:
    Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: sun.misc.Launcher$AppClassLoader@16bd4dc2
    Internal Exception: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
    Exception Description: predeploy for PersistenceUnit [MainRestaurantDBPU] failed.
    Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException
    Exception Description: An exception was thrown while loading class: rest.Food_1 to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
    Internal Exception: java.lang.ClassNotFoundException: rest.Food_1

    Java help java database oracle wpf

  • Numericupdown
    S Shaahinm

    thank you man, the problem is that I am not able to find out whether user is increasing the value or decreasing it Should I store its value and check it when the value changed??? or is it possible to use delegates and events.

    Visual Basic help tutorial question

  • Numericupdown
    S Shaahinm

    Dim s As Decimal = 0.6
    Private Sub nupS_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles nupS.ValueChanged
    If (nupS.Value Mod s) = 0 Then
    nupS.Value = CDec(CInt(nupS.Value))
    s += 1
    End If
    End Sub

    Visual Basic help tutorial question

  • Numericupdown
    S Shaahinm

    hi, I have a numericupdown control, I want users be able to increase its value by 0.15 (15 minutes) and when it reaches 60 it becomes 1, actually it works but only when user increase it, for example if its 1.30 and user decrease it it will be 0.85, I know my code has problem but I dont know how to solve it can someone help me?

    Visual Basic help tutorial question

  • problem with drawing and mdiforms
    S Shaahinm

    Actually I changed

    Graph = Graphics.FromHwnd(hwnd:=ActiveForm().Handle)

    to

    Graph = Graphics.FromHwnd(hwnd:=Me.Handle)

    and it works I just need to know what ' := ' does like

    Width := 1

    Visual Basic graphics help csharp data-structures

  • problem with drawing and mdiforms
    S Shaahinm

    Hi, I have created a form which I need to draw a triangle in it. I found a block of code in internet like this:

    Dim Graph As Graphics
    Dim Ps() As Point
    Graph = Graphics.FromHwnd(hwnd:=ActiveForm().Handle)
    ReDim Ps(2)
    Ps(0) = New Point(150, 25)
    Ps(1) = New Point(150, 125)
    Ps(2) = New Point(350, 125)
    Graph.DrawPolygon(pen:=New Pen(Color.Black, Width:=1), points:=Ps)

    it is in paint event of form, it works when I load it by itself, but when I try to load it in a mdiParent form the triangle doesn't show up, can any one help me? also I'm new to vb.net so if there is a better way to draw things please tell me Thanks in advance

    Visual Basic graphics help csharp data-structures

  • CMS
    S Shaahinm

    for example I have 2 pages (Index and images) right now i can change the content of the Index page and also change the images in the IMAGES page. but what I want is that the end user be able to create a third page like SITEMAP I hope I made this clear thanks

    ASP.NET help tutorial

  • CMS
    S Shaahinm

    Hi I am writing a cms and I want to put the option of creating a new page there. right now i just can edit the content but I don't know how to create a new page. Please help me.

    ASP.NET help tutorial

  • How to get a file name from a FileDialog?
    S Shaahinm

    use safefilename like this

    DialogResult dr= openFileDialog1.ShowDialog();
    if(dr==DialogResult.OK)
    MessageBox.Show(openFileDialog1.SafeFileName);

    C# tutorial question

  • communicate with windows
    S Shaahinm

    hi, I want to write a program or a service which disconnect a dial up connection whenever for example the mouse doesn't move for 5 minutes or ... please help me on this. please tell in what library's i can find useful things. thanks

    C# help tutorial

  • Diagnostics.process
    S Shaahinm

    Ok thanks Is there a way to solve it?

    C# help

  • Diagnostics.process
    S Shaahinm

    Hi I want to open other file types using my form I used (Process.start("sth.exe","sth.sth");) it works some times but some times when(I think) the path name have space within it ,it causes error like this (Process.start("wmplayer.exe","track 01.mp3");) if I write this one (Process.start("wmplayer.exe","track01.mp3");) instead of the above one it works can any one explain it to me and a solution please.

    C# help

  • Message Box
    S Shaahinm

    Hi, Can any one tell me how to change a messagebox font? I know I have to Create my own messagebox but I don't know how?(create a form to act like message box or derive from messagebox class) so please tell me how to change messagebox font?

    C# tutorial question

  • Crystal Report
    S Shaahinm

    Hi, I have a problem with Crystal report and I don't know if I am in the correct forum but this is my problem : How Can I add a runtime value to the report? I mean I want to create a page for print and I want to put the entered data into the report. or after the data is added to the DB , how can i read that ? PLEASE HELP ME :D

    C# help question database

  • Printing
    S Shaahinm

    hi Is it possible to make a print document using drag and drop or a wizard? if it is, please give me a hint. (VS 2005)

    C# visual-studio question

  • Problem with datatable
    S Shaahinm

    Hi, I have a datatable which is going to fill from a if statment (I mean I don't know which record is going to returned) and after the data is returned i want to be able to edit or delete the returned records. (the IF's are a search statment all on one table and diffrent columns) so when S.O wants to delete a record i want to refresh the Grid which is filled with datatable. how can i refresh the datatable. (I hope i was able to express what I mean) please help me.:D

    C# help css question

  • DataGridView Maximum Number of Rows
    S Shaahinm

    hi, I am working on a desktop application which has grid in it and show data from access database. my problem is that the grid only shows about 21700 records of the table,(I am not sure about the exact number) I can search throw the whole database (i can search for last added record which doesn't appear in the grid). what should I do to show larger range of data in DataGrid?

    C# css database help question

  • Date Format
    S Shaahinm

    hi. I have a maskedTextBox which is going to accept date from user. it's format is (00/00/0000) or (Short Date) and i am using system.datetime.parse() to validate it. by defult it accepts (mm/dd/yyyy) how can I change it to (dd/mm/yyyy)? Regards

    C# question

  • Hijri Calander
    S Shaahinm

    Hi can any one help me to convert Gregorian to Hijri ?

    C# help question

  • Masked Formating
    S Shaahinm

    in winform I used defult masks but they didn't work porperly what I've tried to do is to automatically add a (,) after 3digits is enterd thanks

    C# help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups